File tree Expand file tree Collapse file tree 1 file changed +6
-19
lines changed Expand file tree Collapse file tree 1 file changed +6
-19
lines changed Original file line number Diff line number Diff line change @@ -13,34 +13,21 @@ jobs:
13
13
steps :
14
14
- uses : actions/checkout@v3
15
15
- name : Install Rust
16
- uses : actions-rs/ toolchain@v1
16
+ uses : dtolnay/rust- toolchain@stable
17
17
with :
18
- profile : minimal
19
- toolchain : stable
20
- override : true
21
18
components : rustfmt
22
-
23
19
- name : Check format
24
- uses : actions-rs/cargo@v1
25
- with :
26
- command : fmt
27
- args : -- --check
20
+ run : cargo fmt --check
28
21
29
22
clippy :
30
23
name : Clippy
31
24
runs-on : ubuntu-latest
32
25
steps :
33
26
- uses : actions/checkout@v3
34
- - uses : actions-rs/ toolchain@v1
27
+ - uses : dtolnay/rust- toolchain@stable
35
28
with :
36
- profile : minimal
37
- toolchain : stable
38
- override : true
39
29
components : clippy
40
- - uses : actions-rs/cargo@v1
41
- with :
42
- command : clippy
43
- args : --all-targets --all-features -- -D warnings
30
+ - run : cargo clippy --all-targets --all-features -- -D warnings
44
31
45
32
tests :
46
33
name : Tests
61
48
steps :
62
49
- uses : actions/checkout@v3
63
50
- name : Install Rust
64
- uses : hecrj/setup- rust-action@v1
51
+ uses : dtolnay/ rust-toolchain@master
65
52
with :
66
- rust-version : ${{ matrix.rust }}
53
+ toolchain : ${{ matrix.rust }}
67
54
68
55
- name : Build System Info
69
56
run : rustc --version
You can’t perform that action at this time.
0 commit comments