Expand to 265 rules / 26 categories, refresh for Rust 1.96, add compile-checked CI #3
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: CI | |
| on: | |
| push: | |
| branches: [master] | |
| pull_request: | |
| permissions: | |
| contents: read | |
| jobs: | |
| checks: | |
| name: Validate & compile-check | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: actions/setup-python@v5 | |
| with: | |
| python-version: "3.x" | |
| # Toolchain/target are pinned by checks/rust-toolchain.toml (Rust 1.95.0). | |
| - uses: dtolnay/rust-toolchain@1.95.0 | |
| with: | |
| targets: x86_64-unknown-linux-gnu | |
| - uses: Swatinem/rust-cache@v2 | |
| with: | |
| workspaces: checks | |
| # The exact same command contributors run locally. | |
| - name: Run checks | |
| run: bash checks/check.sh |