diff --git a/.forgejo/workflows/ci.yml b/.forgejo/workflows/ci.yml index 3774cde..16359c7 100644 --- a/.forgejo/workflows/ci.yml +++ b/.forgejo/workflows/ci.yml @@ -144,6 +144,20 @@ jobs: restore-keys: | cargo-${{ runner.os }}- + # Own key, not shared with the clippy jobs above: this job is the + # only one that needs full codegen (clippy's check-only builds + # produce metadata, not the linkable artifacts `cargo test` needs, + # so there's nothing to share either way), and it never touches + # feedsignal-web, so its target/ stays far smaller than a build + # covering every crate's feature set. + - name: Cache test target directory + uses: actions/cache@v4 + with: + path: target + key: target-test-${{ runner.os }}-${{ hashFiles('**/Cargo.lock') }} + restore-keys: | + target-test-${{ runner.os }}- + - name: Cache sccache compilation objects uses: actions/cache@v4 with: