File tree Expand file tree Collapse file tree 2 files changed +12
-4
lines changed Expand file tree Collapse file tree 2 files changed +12
-4
lines changed Original file line number Diff line number Diff line change 1+ name : Homebrew
12on :
23 push :
34 tags :
Original file line number Diff line number Diff line change 3434 GCM_INTERACTIVE : never
3535 GIT_TERMINAL_PROMPT : 0
3636 RUST_BACKTRACE : " 1"
37+ SCCACHE_GHA_ENABLED : " true"
38+ RUSTC_WRAPPER : " sccache"
3739 steps :
40+ - name : Run sccache-cache
41+ uses : mozilla-actions/sccache-action@v0.0.5
42+
3843 - name : Set workspace var
3944 shell : bash
4045 run : |
5762 toolchain : stable
5863 override : true
5964
60- - uses : Swatinem/rust-cache@v2
61-
6265 - name : Build
6366 uses : actions-rs/cargo@v1
6467 with :
@@ -129,12 +132,16 @@ jobs:
129132 checks :
130133 name : Checks
131134 runs-on : ubuntu-latest
135+ env :
136+ SCCACHE_GHA_ENABLED : " true"
137+ RUSTC_WRAPPER : " sccache"
132138 steps :
139+ - name : Run sccache-cache
140+ uses : mozilla-actions/sccache-action@v0.0.5
141+
133142 - name : Checkout sources
134143 uses : actions/checkout@v3
135144
136- - uses : Swatinem/rust-cache@v2
137-
138145 - name : Install stable toolchain
139146 uses : actions-rs/toolchain@v1
140147 with :
You can’t perform that action at this time.
0 commit comments