Skip to content

Commit

Permalink
Adding sccache to github actions (#156)
Browse files Browse the repository at this point in the history
  • Loading branch information
YoungMind1 committed Mar 25, 2023
1 parent 00d6df7 commit 666958d
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ on:
branches: [ "main" ]

env:
SCCACHE_GHA_ENABLED: "true"
RUSTC_WRAPPER: "sccache"
CARGO_TERM_COLOR: always

jobs:
Expand All @@ -15,6 +17,8 @@ jobs:
runs-on: ubuntu-latest

steps:
- name: Run sccache-cache
uses: mozilla-actions/sccache-action@v0.0.3
- uses: actions/checkout@v3
- name: Build
run: cargo build --verbose
Expand Down

0 comments on commit 666958d

Please sign in to comment.