From 76c85db61b0b8129d7bf28760ce32079be298fe6 Mon Sep 17 00:00:00 2001 From: James Hodgkinson Date: Mon, 23 Jun 2025 10:07:55 +1000 Subject: [PATCH] maint: updating rust github actions --- .../fixes/github_actions/templates/Rust/clippy.yml | 7 +++---- .../fixes/github_actions/templates/Rust/rust_test.yml | 4 ++-- 2 files changed, 5 insertions(+), 6 deletions(-) diff --git a/github_linter/fixes/github_actions/templates/Rust/clippy.yml b/github_linter/fixes/github_actions/templates/Rust/clippy.yml index ac0248e..0eef9fc 100644 --- a/github_linter/fixes/github_actions/templates/Rust/clippy.yml +++ b/github_linter/fixes/github_actions/templates/Rust/clippy.yml @@ -19,10 +19,9 @@ jobs: steps: - uses: actions/checkout@v4 - name: Setup sccache - uses: mozilla-actions/sccache-action@v0.0.8 - - name: "Run clippy (ignores errors, this is just a check)" - run: cargo clippy - continue-on-error: true + uses: mozilla-actions/sccache-action@v0.0.9 + - name: "Run clippy" + run: cargo clippy --all-targets - name: Run sccache stat for check shell: bash run: ${SCCACHE_PATH} --show-stats diff --git a/github_linter/fixes/github_actions/templates/Rust/rust_test.yml b/github_linter/fixes/github_actions/templates/Rust/rust_test.yml index 1ad82f6..8147c07 100644 --- a/github_linter/fixes/github_actions/templates/Rust/rust_test.yml +++ b/github_linter/fixes/github_actions/templates/Rust/rust_test.yml @@ -15,7 +15,7 @@ jobs: steps: - uses: actions/checkout@v4 - name: Setup sccache - uses: mozilla-actions/sccache-action@v0.0.8 + uses: mozilla-actions/sccache-action@v0.0.9 - name: Install Rust uses: dtolnay/rust-toolchain@stable with: @@ -28,7 +28,7 @@ jobs: - name: "Run cargo test" run: cargo test - name: "Run cargo clippy" - run: cargo clippy + run: cargo clippy --all-targets - name: "Build the workspace" run: cargo build --workspace - name: Run sccache stat for check