File tree Expand file tree Collapse file tree 1 file changed +13
-19
lines changed Expand file tree Collapse file tree 1 file changed +13
-19
lines changed Original file line number Diff line number Diff line change @@ -30,47 +30,45 @@ jobs:
30
30
- win-gnu
31
31
include :
32
32
- build : pinned
33
- os : ubuntu-18.04
33
+ os : ubuntu-latest
34
34
rust : 1.41.1
35
35
- build : stable
36
- os : ubuntu-18.04
36
+ os : ubuntu-latest
37
37
rust : stable
38
38
- build : stable-32
39
- os : ubuntu-18.04
39
+ os : ubuntu-latest
40
40
rust : stable
41
41
target : i686-unknown-linux-gnu
42
42
- build : stable-mips
43
- os : ubuntu-18.04
43
+ os : ubuntu-latest
44
44
rust : stable
45
45
target : mips64-unknown-linux-gnuabi64
46
46
- build : beta
47
- os : ubuntu-18.04
47
+ os : ubuntu-latest
48
48
rust : beta
49
49
- build : nightly
50
- os : ubuntu-18.04
50
+ os : ubuntu-latest
51
51
rust : nightly
52
52
- build : macos
53
53
os : macos-latest
54
54
rust : stable
55
55
- build : win-msvc
56
- os : windows-2019
56
+ os : windows-latest
57
57
rust : stable
58
58
- build : win-gnu
59
- os : windows-2019
59
+ os : windows-latest
60
60
rust : stable-x86_64-gnu
61
61
steps :
62
62
63
63
- name : Checkout repository
64
- uses : actions/checkout@v1
65
- with :
66
- fetch-depth : 1
64
+ uses : actions/checkout@v3
67
65
68
66
- name : Install Rust
69
67
uses : actions-rs/toolchain@v1
70
68
with :
69
+ override : true
71
70
toolchain : ${{ matrix.rust }}
72
71
profile : minimal
73
- override : true
74
72
75
73
- name : Install and configure Cross
76
74
if : matrix.target != ''
89
87
echo "target flag is: ${{ env.TARGET }}"
90
88
91
89
- name : Show CPU info for debugging
92
- if : matrix.os == 'ubuntu-18.04 '
90
+ if : matrix.os == 'ubuntu-latest '
93
91
run : lscpu
94
92
95
93
- name : Basic build
@@ -163,18 +161,14 @@ jobs:
163
161
runs-on : ubuntu-18.04
164
162
steps :
165
163
- name : Checkout repository
166
- uses : actions/checkout@v1
167
- with :
168
- fetch-depth : 1
164
+ uses : actions/checkout@v3
169
165
- name : Install Rust
170
166
uses : actions-rs/toolchain@v1
171
167
with :
168
+ override : true
172
169
toolchain : stable
173
170
profile : minimal
174
- override : true
175
171
components : rustfmt
176
- - name : Install rustfmt
177
- run : rustup component add rustfmt
178
172
- name : Check formatting
179
173
run : |
180
174
cargo fmt --all -- --check
You can’t perform that action at this time.
0 commit comments