icepuma / rust-action

Rust github action

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Rust Github Action

⚠️ Action is deprecated, please use rust-action. Thanks to Mirlahiji for taking over the project ❤️

'Silverbullet' for a quickstart Rust CI based upon Github Actions

What's inside the "box":

  • Rust 1.68.0
  • Rustfmt
  • Clippy
  • Cargo Release
  • cmake - Thanks @ bwasty

Usage

In a file inside .github/workflows/quickstart.yml

name: Rust Example

on: [push]

jobs:
  build:
    runs-on: ubuntu-latest

    steps:
      - uses: actions/checkout@v1
      - uses: icepuma/rust-action@master
        with:
          args: cd integration-test && cargo fmt -- --check && cargo clippy -- -Dwarnings && cargo test

About

Rust github action

License:Do What The F*ck You Want To Public License


Languages

Language:Dockerfile 74.4%Language:Rust 13.4%Language:Shell 12.2%