Skip to content

Commit d081cf2

Browse files
cgzonesotavio
authored andcommitted
ci: update actions/cache to v3
1 parent cbb4a6e commit d081cf2

File tree

3 files changed

+11
-11
lines changed

3 files changed

+11
-11
lines changed

.github/workflows/linux.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -44,17 +44,17 @@ jobs:
4444
with:
4545
command: generate-lockfile
4646
- name: Cache cargo registry
47-
uses: actions/cache@v1
47+
uses: actions/cache@v3
4848
with:
4949
path: ~/.cargo/registry
5050
key: ${{ matrix.version }}-x86_64-unknown-linux-gnu-cargo-registry-trimmed-${{ hashFiles('**/Cargo.lock') }}
5151
- name: Cache cargo index
52-
uses: actions/cache@v1
52+
uses: actions/cache@v3
5353
with:
5454
path: ~/.cargo/git
5555
key: ${{ matrix.version }}-x86_64-unknown-linux-gnu-cargo-index-trimmed-${{ hashFiles('**/Cargo.lock') }}
5656
- name: Cache cargo build
57-
uses: actions/cache@v1
57+
uses: actions/cache@v3
5858
with:
5959
path: target
6060
key: ${{ matrix.version }}-x86_64-unknown-linux-gnu-cargo-build-trimmed-${{ hashFiles('**/Cargo.lock') }}

.github/workflows/macos.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -41,17 +41,17 @@ jobs:
4141
with:
4242
command: generate-lockfile
4343
- name: Cache cargo registry
44-
uses: actions/cache@v1
44+
uses: actions/cache@v3
4545
with:
4646
path: ~/.cargo/registry
4747
key: ${{ matrix.version }}-x86_64-apple-darwin-cargo-registry-trimmed-${{ hashFiles('**/Cargo.lock') }}
4848
- name: Cache cargo index
49-
uses: actions/cache@v1
49+
uses: actions/cache@v3
5050
with:
5151
path: ~/.cargo/git
5252
key: ${{ matrix.version }}-x86_64-apple-darwin-cargo-index-trimmed-${{ hashFiles('**/Cargo.lock') }}
5353
- name: Cache cargo build
54-
uses: actions/cache@v1
54+
uses: actions/cache@v3
5555
with:
5656
path: target
5757
key: ${{ matrix.version }}-x86_64-apple-darwin-cargo-build-trimmed-${{ hashFiles('**/Cargo.lock') }}

.github/workflows/windows.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -29,15 +29,15 @@ jobs:
2929
uses: actions/checkout@v2
3030

3131
- name: Cache vcpkg installed
32-
uses: actions/cache@v1.0.3
32+
uses: actions/cache@v3
3333
with:
3434
path: $VCPKG_ROOT/installed
3535
key: ${{ runner.os }}-vcpkg-cache-${{ matrix.linkage }}
3636
env:
3737
VCPKG_ROOT: 'C:\vcpkg'
3838

3939
- name: Cache vcpkg downloads
40-
uses: actions/cache@v1.0.3
40+
uses: actions/cache@v3
4141
with:
4242
path: $VCPKG_ROOT/downloads
4343
key: ${{ runner.os }}-vcpkg-cache-${{ matrix.linkage }}
@@ -61,17 +61,17 @@ jobs:
6161
with:
6262
command: generate-lockfile
6363
- name: Cache cargo registry
64-
uses: actions/cache@v1
64+
uses: actions/cache@v3
6565
with:
6666
path: ~/.cargo/registry
6767
key: ${{ matrix.version }}-x86_64-pc-windows-msvc-cargo-registry-trimmed-${{ hashFiles('**/Cargo.lock') }}
6868
- name: Cache cargo index
69-
uses: actions/cache@v1
69+
uses: actions/cache@v3
7070
with:
7171
path: ~/.cargo/git
7272
key: ${{ matrix.version }}-x86_64-pc-windows-msvc-cargo-index-trimmed-${{ hashFiles('**/Cargo.lock') }}
7373
- name: Cache cargo build
74-
uses: actions/cache@v1
74+
uses: actions/cache@v3
7575
with:
7676
path: target
7777
key: ${{ matrix.version }}-x86_64-pc-windows-msvc-cargo-build-trimmed-${{ hashFiles('**/Cargo.lock') }}

0 commit comments

Comments
 (0)