We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 292b095 commit 7dbc31eCopy full SHA for 7dbc31e
.github/workflows/reusable-tests.yaml
@@ -30,6 +30,10 @@ env:
30
~/.cargo/registry/cache/
31
~/.cargo/git/db/
32
./target/
33
+ # Allow sccache to work
34
+ CARGO_INCREMENTAL: "false"
35
+ SCCACHE_GHA_ENABLED: "true"
36
+ RUSTC_WRAPPER: "sccache"
37
38
jobs:
39
test-core:
@@ -492,6 +496,9 @@ jobs:
492
496
path: ${{ matrix.node.path }}/target
493
497
key: cargo-${{ runner.os }}-${{ matrix.node.path }}-${{ env.ANCHOR_VERSION }}-${{ env.SOLANA_CLI_VERSION }}-${{ hashFiles('**/Cargo.lock') }}
494
498
499
+ - name: Run sccache-cache
500
+ uses: mozilla-actions/sccache-action@v0.0.9
501
+
495
502
- run: ${{ matrix.node.cmd }}
503
name: ${{ matrix.node.path }} program test
504
0 commit comments