diff --git a/.gitea/workflows/ci.yml b/.gitea/workflows/ci.yml index eee821b..9ff6225 100644 --- a/.gitea/workflows/ci.yml +++ b/.gitea/workflows/ci.yml @@ -37,8 +37,8 @@ jobs: path: | ~/.cargo/registry ~/.cargo/git - key: clippy-${{ hashFiles('**/Cargo.lock') }} - restore-keys: clippy- + key: cargo-registry-${{ hashFiles('**/Cargo.lock') }} + restore-keys: cargo-registry- - name: Run cargo clippy run: cargo clippy --all-targets --features argon2,std,curve25519,ecdsa,ed25519,kem -- -D warnings - name: Run cargo doc @@ -76,10 +76,8 @@ jobs: path: | ~/.cargo/registry ~/.cargo/git - key: test-${{ matrix.toolchain }}-${{ matrix.backend_feature }}-${{ matrix.frontend_feature }}-${{ hashFiles('**/Cargo.lock') }} - restore-keys: | - test-${{ matrix.toolchain }}-${{ matrix.backend_feature }}-${{ matrix.frontend_feature }}- - test-${{ matrix.toolchain }}- + key: cargo-registry-${{ hashFiles('**/Cargo.lock') }} + restore-keys: cargo-registry- - name: Run cargo test run: cargo test --no-default-features ${{ matrix.backend_feature }} ${{ matrix.frontend_feature }} - name: Run cargo test with std