@@ -19,31 +19,31 @@ jobs:
19
19
name : rustfmt
20
20
runs-on : ubuntu-latest
21
21
steps :
22
- - uses : actions/checkout@v2
22
+ - uses : actions/checkout@v4
23
23
- uses : sfackler/actions/rustup@master
24
24
- uses : sfackler/actions/rustfmt@master
25
-
25
+
26
26
clippy :
27
27
name : clippy
28
28
runs-on : ubuntu-latest
29
29
steps :
30
- - uses : actions/checkout@v2
30
+ - uses : actions/checkout@v4
31
31
- uses : sfackler/actions/rustup@master
32
- - run : echo "::set-output name= version:: $(rustc --version)"
32
+ - run : echo "version= $(rustc --version)" >> $GITHUB_OUTPUT
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
@@ -53,26 +53,26 @@ jobs:
53
53
name : test
54
54
runs-on : ubuntu-latest
55
55
steps :
56
- - uses : actions/checkout@v2
56
+ - uses : actions/checkout@v4
57
57
- run : docker compose up -d
58
58
- uses : sfackler/actions/rustup@master
59
59
with :
60
- version : 1.62 .0
60
+ version : 1.83 .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