Skip to content

Commit

Permalink
ci: add sccache to speed up ci build
Browse files Browse the repository at this point in the history
Signed-off-by: xxchan <[email protected]>
  • Loading branch information
xxchan committed Dec 18, 2024
1 parent 74a85e7 commit 4a63fea
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,8 @@ concurrency:

env:
rust_msrv: "1.77.1"
SCCACHE_GHA_ENABLED: "true"
RUSTC_WRAPPER: "sccache"

jobs:
check:
Expand Down Expand Up @@ -104,6 +106,9 @@ jobs:
steps:
- uses: actions/checkout@v4

- name: Setup sccache
uses: mozilla-actions/[email protected]

- name: Setup Rust toolchain
uses: ./.github/actions/setup-builder
with:
Expand Down

0 comments on commit 4a63fea

Please sign in to comment.