Skip to content

Commit 0763a2f

Browse files
committed
ci: enable sccache
1 parent e1508de commit 0763a2f

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

.github/workflows/ci.yml

+5
Original file line numberDiff line numberDiff line change
@@ -22,10 +22,15 @@ jobs:
2222
env:
2323
CARGO_TERM_COLOR: always
2424
RUST_BACKTRACE: full
25+
SCCACHE_GHA_ENABLED: "true"
26+
RUSTC_WRAPPER: "sccache"
2527
steps:
2628
- uses: actions/checkout@v4
2729
- uses: jdx/mise-action@v2
30+
- uses: mozilla-actions/sccache-action@v0.0.5
2831
- run: just check
2932
- run: just lint
3033
- run: just test
3134
#- run: just test_each_feature
35+
- run: ${SCCACHE_PATH} --show-stats
36+
shell: bash

.mise.toml

+2-2
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
OTEL_EXPORTER_OTLP_TRACES_ENDPOINT = "http://127.0.0.1:4317"
33
# OTEL_EXPORTER_OTLP_TRACES_PROTOCOL = "grpc"
44
OTEL_TRACES_SAMPLER = "always_on"
5-
RUSTC_WRAPPER = "sccache"
5+
# RUSTC_WRAPPER = "sccache"
66
# RUST_WITHOUT = "rust-docs"
77
ASDF_RUST_PROFILE = "minimal"
88

@@ -11,7 +11,7 @@ rust = '1.80.0'
1111
just = '1'
1212
grpcurl = '*'
1313
# grpc-health-probe = "*"
14-
sccache = "0.5"
14+
# sccache = "0.5"
1515
binstall = "1.10"
1616

1717
[plugins]

0 commit comments

Comments
 (0)