Skip to content

Commit

Permalink
ci: enable sccache
Browse files Browse the repository at this point in the history
  • Loading branch information
davidB committed Sep 22, 2024
1 parent e1508de commit 0763a2f
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,15 @@ jobs:
env:
CARGO_TERM_COLOR: always
RUST_BACKTRACE: full
SCCACHE_GHA_ENABLED: "true"
RUSTC_WRAPPER: "sccache"
steps:
- uses: actions/checkout@v4
- uses: jdx/mise-action@v2
- uses: mozilla-actions/[email protected]
- run: just check
- run: just lint
- run: just test
#- run: just test_each_feature
- run: ${SCCACHE_PATH} --show-stats
shell: bash
4 changes: 2 additions & 2 deletions .mise.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
OTEL_EXPORTER_OTLP_TRACES_ENDPOINT = "http://127.0.0.1:4317"
# OTEL_EXPORTER_OTLP_TRACES_PROTOCOL = "grpc"
OTEL_TRACES_SAMPLER = "always_on"
RUSTC_WRAPPER = "sccache"
# RUSTC_WRAPPER = "sccache"
# RUST_WITHOUT = "rust-docs"
ASDF_RUST_PROFILE = "minimal"

Expand All @@ -11,7 +11,7 @@ rust = '1.80.0'
just = '1'
grpcurl = '*'
# grpc-health-probe = "*"
sccache = "0.5"
# sccache = "0.5"
binstall = "1.10"

[plugins]
Expand Down

0 comments on commit 0763a2f

Please sign in to comment.