Bump CI actions (Node 24) and Python test deps (pytest-codspeed v5) #37
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: Lint and format check | |
| on: [ pull_request ] | |
| permissions: | |
| contents: read | |
| env: | |
| RUSTFLAGS: "-Dwarnings" # treat warnings as errors | |
| RUST_VERSION: "1.95.0" | |
| jobs: | |
| lint: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout repository. | |
| uses: actions/checkout@v6 | |
| - name: Install rust. | |
| uses: dtolnay/rust-toolchain@master | |
| with: | |
| toolchain: ${{ env.RUST_VERSION }} | |
| components: clippy, rustfmt | |
| - name: Run Clippy. | |
| run: cargo clippy --all-targets --all-features | |
| - name: Run fmt check. | |
| run: cargo fmt --all -- --check |