ci: split rustfmt and clippy into separate jobs #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: Rust Format and Clippy | |
| on: | |
| push: | |
| pull_request: | |
| branches: [main] | |
| jobs: | |
| lint: | |
| runs-on: ubuntu-latest | |
| container: | |
| # This could be optimized to use a smaller image | |
| image: ghcr.io/nationalsecurityagency/seabee:build | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@v4 | |
| - name: Check formatting | |
| run: cargo fmt -- --check |