Add lint and format check workflow #1
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: "Run lint and format check" | |
| on: push | |
| jobs: | |
| build-and-run-unit-tests: | |
| runs-on: 'ubuntu-latest' | |
| steps: | |
| - name: Check out repository | |
| uses: actions/checkout@v6 | |
| - name: Setup Rust | |
| uses: ./.github/actions/setup-rust | |
| - name: Run clippy | |
| run: cargo clippy | |
| - name: Check Rust formatting | |
| run: cargo fmt --check |