@@ -31,19 +31,19 @@ jobs:
31
31
- uses : sfackler/actions/rustup@master
32
32
- run : echo "::set-output name=version::$(rustc --version)"
33
33
id : rust-version
34
- - uses : actions/cache@v1
34
+ - uses : actions/cache@v4
35
35
with :
36
36
path : ~/.cargo/registry/index
37
37
key : index-${{ runner.os }}-${{ github.run_number }}
38
38
restore-keys : |
39
39
index-${{ runner.os }}-
40
40
- run : cargo generate-lockfile
41
- - uses : actions/cache@v1
41
+ - uses : actions/cache@v4
42
42
with :
43
43
path : ~/.cargo/registry/cache
44
44
key : registry-${{ runner.os }}-${{ steps.rust-version.outputs.version }}-${{ hashFiles('Cargo.lock') }}
45
45
- run : cargo fetch
46
- - uses : actions/cache@v1
46
+ - uses : actions/cache@v4
47
47
with :
48
48
path : target
49
49
key : clippy-target-${{ runner.os }}-${{ steps.rust-version.outputs.version }}-${{ hashFiles('Cargo.lock') }}y
@@ -60,19 +60,19 @@ jobs:
60
60
version : 1.62.0
61
61
- run : echo "::set-output name=version::$(rustc --version)"
62
62
id : rust-version
63
- - uses : actions/cache@v1
63
+ - uses : actions/cache@v4
64
64
with :
65
65
path : ~/.cargo/registry/index
66
66
key : index-${{ runner.os }}-${{ github.run_number }}
67
67
restore-keys : |
68
68
index-${{ runner.os }}-
69
69
- run : cargo generate-lockfile
70
- - uses : actions/cache@v1
70
+ - uses : actions/cache@v4
71
71
with :
72
72
path : ~/.cargo/registry/cache
73
73
key : registry-${{ runner.os }}-${{ steps.rust-version.outputs.version }}-${{ hashFiles('Cargo.lock') }}
74
74
- run : cargo fetch
75
- - uses : actions/cache@v1
75
+ - uses : actions/cache@v4
76
76
with :
77
77
path : target
78
78
key : test-target-${{ runner.os }}-${{ steps.rust-version.outputs.version }}-${{ hashFiles('Cargo.lock') }}y
0 commit comments