Skip to content

Commit 9f77da9

Browse files
sccache
1 parent 5ff8620 commit 9f77da9

File tree

1 file changed

+6
-10
lines changed

1 file changed

+6
-10
lines changed

.github/workflows/ci_bindings_c.yml

Lines changed: 6 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,9 @@ concurrency:
3838

3939
permissions:
4040
contents: read
41-
41+
env:
42+
SCCACHE_GHA_ENABLED: "true"
43+
RUSTC_WRAPPER: "sccache"
4244
jobs:
4345
test:
4446
runs-on: ubuntu-latest
@@ -49,18 +51,12 @@ jobs:
4951
uses: ./.github/actions/setup
5052

5153

52-
- uses: actions/cache@v4
53-
with:
54-
path: |
55-
~/.cargo/bin/
56-
~/.cargo/registry/index/
57-
~/.cargo/registry/cache/
58-
~/.cargo/git/db/
59-
bindings/c/target/
60-
key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}
54+
- name: Run sccache-cache
55+
uses: mozilla-actions/sccache-action@7d986dd989559c6ecdb630a3fd2557667be217ad
6156

6257
- name: Clippy Check
6358
working-directory: "bindings/c"
59+
6460
run: |
6561
cargo clippy -- -D warnings
6662

0 commit comments

Comments
 (0)