Skip to content

Commit 0006e3a

Browse files
Merge pull request #95 from imbsky/actions-cache-v2
2 parents 82e234f + b1c03d8 commit 0006e3a

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

.github/workflows/linuxci.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,17 +8,17 @@ jobs:
88
runs-on: ubuntu-latest
99
steps:
1010
- name: Cache cargo registry
11-
uses: actions/cache@v1
11+
uses: actions/cache@v2
1212
with:
1313
path: ~/.cargo/registry
1414
key: ${{ runner.os }}-cargo-registry-${{ hashFiles('**/Cargo.lock') }}
1515
- name: Cache cargo index
16-
uses: actions/cache@v1
16+
uses: actions/cache@v2
1717
with:
1818
path: ~/.cargo/git
1919
key: ${{ runner.os }}-cargo-index-${{ hashFiles('**/Cargo.lock') }}
2020
- name: Cache cargo build
21-
uses: actions/cache@v1
21+
uses: actions/cache@v2
2222
with:
2323
path: target
2424
key: ${{ runner.os }}-cargo-build-target-${{ hashFiles('**/Cargo.lock') }}

.github/workflows/macosci.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,17 +8,17 @@ jobs:
88
runs-on: macos-latest
99
steps:
1010
- name: Cache cargo registry
11-
uses: actions/cache@v1
11+
uses: actions/cache@v2
1212
with:
1313
path: ~/.cargo/registry
1414
key: ${{ runner.os }}-cargo-registry-${{ hashFiles('**/Cargo.lock') }}
1515
- name: Cache cargo index
16-
uses: actions/cache@v1
16+
uses: actions/cache@v2
1717
with:
1818
path: ~/.cargo/git
1919
key: ${{ runner.os }}-cargo-index-${{ hashFiles('**/Cargo.lock') }}
2020
- name: Cache cargo build
21-
uses: actions/cache@v1
21+
uses: actions/cache@v2
2222
with:
2323
path: target
2424
key: ${{ runner.os }}-cargo-build-target-${{ hashFiles('**/Cargo.lock') }}

0 commit comments

Comments
 (0)