Skip to content

Commit

Permalink
Cache Cargo files in CI
Browse files Browse the repository at this point in the history
  • Loading branch information
YtvwlD committed May 18, 2024
1 parent 8a01cae commit 2e279fc
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,15 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Cache Cargo
uses: actions/cache@v4
with:
path: |
~/.cargo/registry/index/
~/.cargo/registry/cache/
~/.cargo/git/db/
target/
key: cargo-${{ hashFiles('**/Cargo.lock') }}
- name: Install Rust for i686
uses: actions-rs/toolchain@v1
with:
Expand Down

0 comments on commit 2e279fc

Please sign in to comment.