@@ -17,31 +17,31 @@ jobs:
17
17
name : rustfmt
18
18
runs-on : ubuntu-latest
19
19
steps :
20
- - uses : actions/checkout@v2
20
+ - uses : actions/checkout@v3
21
21
- uses : sfackler/actions/rustup@master
22
22
- uses : sfackler/actions/rustfmt@master
23
23
24
24
clippy :
25
25
name : clippy
26
26
runs-on : ubuntu-latest
27
27
steps :
28
- - uses : actions/checkout@v2
28
+ - uses : actions/checkout@v3
29
29
- uses : sfackler/actions/rustup@master
30
- - run : echo "::set-output name= version:: $(rustc --version)"
30
+ - run : echo "version= $(rustc --version)" >> $GITHUB_OUTPUT
31
31
id : rust-version
32
- - uses : actions/cache@v1
32
+ - uses : actions/cache@v3
33
33
with :
34
34
path : ~/.cargo/registry/index
35
35
key : index-${{ runner.os }}-${{ github.run_number }}
36
36
restore-keys : |
37
37
index-${{ runner.os }}-
38
38
- run : cargo generate-lockfile
39
- - uses : actions/cache@v1
39
+ - uses : actions/cache@v3
40
40
with :
41
41
path : ~/.cargo/registry/cache
42
42
key : registry-${{ runner.os }}-${{ steps.rust-version.outputs.version }}-${{ hashFiles('Cargo.lock') }}
43
43
- run : cargo fetch
44
- - uses : actions/cache@v1
44
+ - uses : actions/cache@v3
45
45
with :
46
46
path : target
47
47
key : clippy-target-${{ runner.os }}-${{ steps.rust-version.outputs.version }}-${{ hashFiles('Cargo.lock') }}y
@@ -51,25 +51,25 @@ jobs:
51
51
name : test
52
52
runs-on : ubuntu-latest
53
53
steps :
54
- - uses : actions/checkout@v2
54
+ - uses : actions/checkout@v3
55
55
- uses : sfackler/actions/rustup@master
56
56
with :
57
57
version : 1.56.0
58
- - run : echo "::set-output name= version:: $(rustc --version)"
58
+ - run : echo "version= $(rustc --version)" >> $GITHUB_OUTPUT
59
59
id : rust-version
60
- - uses : actions/cache@v1
60
+ - uses : actions/cache@v3
61
61
with :
62
62
path : ~/.cargo/registry/index
63
63
key : index-${{ runner.os }}-${{ github.run_number }}
64
64
restore-keys : |
65
65
index-${{ runner.os }}-
66
66
- run : cargo generate-lockfile
67
- - uses : actions/cache@v1
67
+ - uses : actions/cache@v3
68
68
with :
69
69
path : ~/.cargo/registry/cache
70
70
key : registry-${{ runner.os }}-${{ steps.rust-version.outputs.version }}-${{ hashFiles('Cargo.lock') }}
71
71
- run : cargo fetch
72
- - uses : actions/cache@v1
72
+ - uses : actions/cache@v3
73
73
with :
74
74
path : target
75
75
key : test-target-${{ runner.os }}-${{ steps.rust-version.outputs.version }}-${{ hashFiles('Cargo.lock') }}y
0 commit comments