@@ -21,12 +21,11 @@ jobs:
21
21
runs-on : ubuntu-latest
22
22
steps :
23
23
- name : Checkout repository
24
- uses : actions/checkout@v2
24
+ uses : actions/checkout@v3
25
25
- name : Install toolchain
26
- uses : actions-rs/ toolchain@v1
26
+ uses : dtolnay/rust- toolchain@v1
27
27
with :
28
28
toolchain : stable
29
- default : true
30
29
- name : cargo build
31
30
run : cargo build
32
31
- name : cargo test
36
35
runs-on : ubuntu-latest
37
36
steps :
38
37
- name : Checkout repository
39
- uses : actions/checkout@v2
38
+ uses : actions/checkout@v3
40
39
- name : Detect crate MSRV
41
40
shell : bash
42
41
run : |
45
44
echo "Crate MSRV: $msrv"
46
45
echo "MSRV=$msrv" >> $GITHUB_ENV
47
46
- name : Install toolchain
48
- uses : actions-rs/ toolchain@v1
47
+ uses : dtolnay/rust- toolchain@v1
49
48
with :
50
49
toolchain : ${{ env.MSRV }}
51
- default : true
52
50
- name : cargo build
53
51
run : cargo build
54
52
- name : cargo test
@@ -58,12 +56,11 @@ jobs:
58
56
runs-on : ubuntu-latest
59
57
steps :
60
58
- name : Checkout repository
61
- uses : actions/checkout@v2
59
+ uses : actions/checkout@v3
62
60
- name : Install toolchain
63
- uses : actions-rs/ toolchain@v1
61
+ uses : dtolnay/rust- toolchain@v1
64
62
with :
65
63
toolchain : ${{ env['ACTIONS_LINTS_TOOLCHAIN'] }}
66
- default : true
67
64
components : rustfmt, clippy
68
65
- name : cargo fmt (check)
69
66
run : cargo fmt -- --check -l
@@ -82,12 +79,11 @@ jobs:
82
79
- nightly
83
80
steps :
84
81
- name : Checkout repository
85
- uses : actions/checkout@v2
82
+ uses : actions/checkout@v3
86
83
- name : Install toolchain
87
- uses : actions-rs/ toolchain@v1
84
+ uses : dtolnay/rust- toolchain@v1
88
85
with :
89
86
toolchain : ${{ matrix.channel }}
90
- default : true
91
87
- name : cargo build
92
88
run : cargo build
93
89
- name : cargo test
0 commit comments