name: Rust build & run checks run-name: ${{ github.actor }} is building and running cargo checks on: [push, pull_request] env: CARGO_TERM_COLOR: always jobs: cargo-build-test: runs-on: ubuntu-latest steps: - uses: actions/checkout@v3 - name: Cargo install run: curl https://sh.rustup.rs -sSf | sh - name: Test run: cargo test --verbose - name: Clippy run: cargo clippy --all-features -- -D warnings - name: Fmt run: cargo fmt --check