Skip to content

Commit

Permalink
chore: update github workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
Nuhvi committed Feb 11, 2025
1 parent 14b81e0 commit 151f5e7
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/rust.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,15 +25,15 @@ jobs:
override: true

- name: Cache cargo registry
uses: actions/cache@v2
uses: actions/cache@v4
with:
path: ~/.cargo/registry
key: ${{ runner.os }}-cargo-registry-${{ hashFiles('**/Cargo.lock') }}
restore-keys: |
${{ runner.os }}-cargo-registry-
- name: Cache cargo index
uses: actions/cache@v2
uses: actions/cache@v4
with:
path: ~/.cargo/git
key: ${{ runner.os }}-cargo-index-${{ hashFiles('**/Cargo.lock') }}
Expand All @@ -42,15 +42,15 @@ jobs:
- name: Cache cargo build
id: cargo-build-cache
uses: actions/cache@v2
uses: actions/cache@v4
with:
path: target
key: ${{ runner.os }}-cargo-build-${{ hashFiles('./Cargo.lock') }}
restore-keys: |
${{ runner.os }}-cargo-build-
- name: Cache Nextest installation
uses: actions/cache@v2
uses: actions/cache@v4
with:
path: ~/.cargo/bin/cargo-nextest
key: ${{ runner.os }}-cargo-nextest
Expand Down

0 comments on commit 151f5e7

Please sign in to comment.