rust-action/README.md
2022-10-17 20:39:11 +02:00

801 B

Rust Github Action

⚠️ I'm looking for a person, who would like to take over this GitHub action. If you're the person, contact me here. ⚠️

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

What's inside the "box":

  • Rust 1.64.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