Skip to content

Commit

Permalink
Update Caching in Test Server
Browse files Browse the repository at this point in the history
  • Loading branch information
lucemans committed Jan 2, 2024
1 parent 64f83ce commit 0bfe542
Showing 1 changed file with 6 additions and 11 deletions.
17 changes: 6 additions & 11 deletions .github/workflows/test_server.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@ jobs:
test:
name: Test ENState 🚀
runs-on: ubuntu-latest
env:
SCCACHE_GHA_ENABLED: "true"
RUSTC_WRAPPER: "sccache"
steps:
- uses: actions/checkout@v3
with:
Expand All @@ -14,18 +17,10 @@ jobs:
rustup set auto-self-update disable
rustup toolchain install stable --profile minimal
- name: Set up cargo cache
uses: actions/cache@v3
continue-on-error: false
- name: Run sccache-cache
uses: mozilla-actions/[email protected]
with:
path: |
~/.cargo/bin/
~/.cargo/registry/index/
~/.cargo/registry/cache/
~/.cargo/git/db/
server/target/
key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}
restore-keys: ${{ runner.os }}-cargo-
version: "v0.7.4"

- run: cargo build --release
working-directory: server
Expand Down

0 comments on commit 0bfe542

Please sign in to comment.