Skip to content

Commit a09534c

Browse files
committed
feat(gha): use sccache
1 parent 9e8d1af commit a09534c

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

.github/workflows/test.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,9 @@ on:
77

88
jobs:
99
tests:
10+
env:
11+
SCCACHE_GHA_ENABLED: "true"
12+
RUSTC_WRAPPER: "sccache"
1013
strategy:
1114
matrix:
1215
os: [ ubuntu-latest-16 ]
@@ -18,6 +21,8 @@ jobs:
1821
- uses: cachix/cachix-action@v14
1922
with:
2023
name: devenv
24+
- name: sccache
25+
uses: Mozilla-Actions/sccache-action@main
2126
- uses: Swatinem/rust-cache@v2
2227
with:
2328
save-if: ${{ github.ref == 'refs/heads/master' }}

0 commit comments

Comments
 (0)