From c4842f3b25550458a6872c57a2a328be5a24761c Mon Sep 17 00:00:00 2001 From: Ruben Hensen Date: Tue, 5 May 2026 17:59:37 +0200 Subject: [PATCH] ci: bump actions/checkout to v4 and add clippy lint job (#15) Move all jobs off the deprecated Node 16 runner (checkout@v3) onto v4, and add a Clippy job so new lints are caught in CI. Issue #16's cleanup already landed, so the run uses the default warning behavior; tightening to `-D warnings` can follow as a separate change. --- .github/workflows/ci.yml | 17 ++++++++++++++--- 1 file changed, 14 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 901a2af..546e0dc 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -14,10 +14,21 @@ jobs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - uses: dtolnay/rust-toolchain@stable - run: cargo fmt -- --check --color always + clippy: + name: Clippy + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v4 + - uses: dtolnay/rust-toolchain@stable + with: + components: clippy + - run: cargo clippy --all-features --all-targets + test: name: Test on ${{ matrix.os }} runs-on: ${{ matrix.os }} @@ -26,7 +37,7 @@ jobs: os: [ubuntu-latest, windows-latest, macOS-latest] steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - uses: dtolnay/rust-toolchain@stable - run: cargo test --release --verbose --all-features @@ -40,7 +51,7 @@ jobs: - wasm32-wasip1 steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - uses: dtolnay/rust-toolchain@stable with: targets: ${{ matrix.target }}