From 799bd9f6ad6ddb2dcade06d20d8ca46edd98839f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marcel=20M=C3=BCller?= Date: Sun, 29 Jun 2025 14:18:51 +0200 Subject: [PATCH] Add cachekey MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Marcel Müller --- .forgejo/workflows/ci.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.forgejo/workflows/ci.yml b/.forgejo/workflows/ci.yml index 416fb30..cb7824c 100644 --- a/.forgejo/workflows/ci.yml +++ b/.forgejo/workflows/ci.yml @@ -27,6 +27,7 @@ jobs: - uses: actions/checkout@v4 - name: Install Rust uses: https://github.com/dtolnay/rust-toolchain@1.88 + id: toolchain with: components: clippy - name: ⚡ Cache @@ -36,7 +37,7 @@ jobs: ~/.cargo/registry ~/.cargo/git target - key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }} - - run: cargo clippy -- -D warnings + key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}-${{ steps.toolchain.outputs.cachekey }} + - run: cargo clippy --all-targets -- -D warnings - run: cargo build --verbose - run: cargo test --verbose