Skip to content

Commit d29781d

Browse files
authored
fix: disable sccache for codecov (#6422)
1 parent bde1046 commit d29781d

File tree

1 file changed

+2
-16
lines changed

1 file changed

+2
-16
lines changed

.github/workflows/coverage.yml

Lines changed: 2 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -30,9 +30,8 @@ env:
3030
CACHE_TIMEOUT_MINUTES: 5
3131
AWS_ACCESS_KEY_ID: "${{ secrets.AWS_ACCESS_KEY_ID }}"
3232
AWS_SECRET_ACCESS_KEY: "${{ secrets.AWS_SECRET_ACCESS_KEY }}"
33-
RUSTC_WRAPPER: sccache
34-
CC: sccache clang
35-
CXX: sccache clang++
33+
CC: clang
34+
CXX: clang++
3635
# To minimize compile times: https://nnethercote.github.io/perf-book/build-configuration.html#minimizing-compile-times
3736
RUSTFLAGS: "-C linker=clang -C link-arg=-fuse-ld=lld"
3837
FOREST_F3_SIDECAR_FFI_BUILD_OPT_OUT: 1
@@ -46,20 +45,7 @@ jobs:
4645
runs-on: buildjet-4vcpu-ubuntu-2204
4746
timeout-minutes: 45
4847
steps:
49-
- run: lscpu
50-
- name: Configure SCCache variables
51-
run: |
52-
# External PRs do not have access to 'vars' or 'secrets'.
53-
if [[ "${{secrets.AWS_ACCESS_KEY_ID}}" != "" ]]; then
54-
echo "SCCACHE_ENDPOINT=${{ vars.SCCACHE_ENDPOINT}}" >> $GITHUB_ENV
55-
echo "SCCACHE_BUCKET=${{ vars.SCCACHE_BUCKET}}" >> $GITHUB_ENV
56-
echo "SCCACHE_REGION=${{ vars.SCCACHE_REGION}}" >> $GITHUB_ENV
57-
fi
5848
- uses: actions/checkout@v6
59-
- name: Setup sccache
60-
uses: mozilla-actions/sccache-action@v0.0.9
61-
timeout-minutes: ${{ fromJSON(env.CACHE_TIMEOUT_MINUTES) }}
62-
continue-on-error: true
6349
- uses: jdx/mise-action@v3
6450
- uses: taiki-e/install-action@cargo-llvm-cov
6551
- uses: taiki-e/install-action@nextest

0 commit comments

Comments
 (0)