From fec449b93392a821b8c84ce355309f475e19d995 Mon Sep 17 00:00:00 2001 From: Val Lorentz Date: Fri, 17 Nov 2023 16:22:37 +0100 Subject: [PATCH] Segregate lint and test cache As Clippy does not compile dependencies and completes first, they end up never being cached --- .gitea/workflows/ci.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.gitea/workflows/ci.yml b/.gitea/workflows/ci.yml index 155d3f7..209e952 100644 --- a/.gitea/workflows/ci.yml +++ b/.gitea/workflows/ci.yml @@ -25,7 +25,7 @@ jobs: ~/.cargo/registry/cache/ ~/.cargo/git/db/ target/ - key: ${{ runner.os }}-cargo-1.73.0 + key: ${{ runner.os }}-cargo-1.73.0-lint - uses: actions-rs/toolchain@v1 with: @@ -80,7 +80,7 @@ jobs: ~/.cargo/registry/cache/ ~/.cargo/git/db/ target/ - key: ${{ runner.os }}-cargo-${{ matrix.rust }} + key: ${{ runner.os }}-cargo-${{ matrix.rust }}-test - name: Install rust (${{ matrix.rust }}) uses: actions-rs/toolchain@v1