@@ -16,22 +16,19 @@ jobs:
16
16
rust : 1.56.0
17
17
- os : ubuntu-latest
18
18
target : x86_64-unknown-linux-gnu
19
- rust : 1.51 .0
19
+ rust : 1.56 .0
20
20
- os : ubuntu-latest
21
21
target : i686-unknown-linux-gnu
22
- rust : 1.51 .0
22
+ rust : 1.56 .0
23
23
- os : windows-latest
24
24
target : i686-pc-windows-msvc
25
- rust : 1.51 .0
25
+ rust : 1.56 .0
26
26
- os : windows-latest
27
27
target : x86_64-pc-windows-msvc
28
- rust : 1.51 .0
28
+ rust : 1.56 .0
29
29
- os : ubuntu-latest
30
30
target : x86_64-unknown-linux-gnu
31
31
rust : stable
32
- - os : ubuntu-latest
33
- target : x86_64-unknown-linux-gnu
34
- rust : beta
35
32
runs-on : ${{ matrix.os }}
36
33
steps :
37
34
- name : Install rust
42
39
target : ${{ matrix.target }}
43
40
override : true
44
41
- name : Checkout
45
- uses : actions/checkout@v2
42
+ uses : actions/checkout@v3
46
43
- name : Install linker
47
44
if : matrix.target == 'i686-unknown-linux-gnu'
48
45
run : |
52
49
uses : actions-rs/cargo@v1
53
50
with :
54
51
command : test
55
- args : --target ${{ matrix.target }} --lib
56
- nightly :
57
- name : Nightly Tests
58
- runs-on : ubuntu-latest
59
- steps :
60
- - name : Install rust
61
- uses : actions-rs/toolchain@v1
62
- with :
63
- toolchain : nightly
64
- override : true
65
- - name : Checkout
66
- uses : actions/checkout@v2
67
- - name : Test
68
- uses : actions-rs/cargo@v1
69
- with :
70
- command : test
71
- args : --lib
52
+ args : --all-features --target ${{ matrix.target }}
72
53
lint :
73
54
name : Linting (fmt + clippy)
74
55
runs-on : ubuntu-latest
@@ -77,18 +58,16 @@ jobs:
77
58
uses : actions-rs/toolchain@v1
78
59
with :
79
60
profile : minimal
80
- toolchain : stable
61
+ toolchain : 1.56.0
81
62
override : true
82
63
components : rustfmt, clippy
83
64
- name : Checkout
84
- uses : actions/checkout@v2
85
- - name : Clippy
65
+ uses : actions/checkout@v3
66
+ - name : Lint check
86
67
uses : actions-rs/cargo@v1
87
68
with :
88
- command : clippy
89
- args : --tests --examples
69
+ command : lint
90
70
- name : Format check
91
71
uses : actions-rs/cargo@v1
92
72
with :
93
- command : fmt
94
- args : -- --check
73
+ command : format-check
0 commit comments