Skip to content

Commit

Permalink
gha: disable sccache
Browse files Browse the repository at this point in the history
We're currently seeing an issue with some tests that use the trybuild
crate to run. When trybuild is compiled it looks at the `CARGO` env var
in order to determine which `cargo` binary to use during tests.
Unfortunately sccache isn't able to properly cache artifacts which
depend on environment variables at compile time, resulting in the cached
version of trybuild trying to use a nonexistent version of cargo. This
should be fixed once mozilla/sccache#804 is
fixed.
  • Loading branch information
bmwill committed Jan 14, 2021
1 parent 5daf3bc commit e258f92
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/actions/build-setup/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,3 +64,6 @@ runs:
echo 'CARGO='$(rustup which cargo --toolchain "$(cat cargo-toolchain)") | tee -a $GITHUB_ENV
# Pin the version of RUSTC used for all invocations of cargo
echo 'RUSTUP_TOOLCHAIN='$(cat rust-toolchain) | tee -a $GITHUB_ENV
# Disable sccache from being used till https://github.com/mozilla/sccache/issues/804 is fixed
echo 'SKIP_SCCACHE=1' | tee -a $GITHUB_ENV

0 comments on commit e258f92

Please sign in to comment.