@@ -13,47 +13,26 @@ jobs:
13
13
rust : [1.36.0, stable, beta, nightly]
14
14
runs-on : ${{ matrix.os }}
15
15
steps :
16
- - uses : actions/checkout@v2
17
- - uses : actions-rs/ toolchain@v1
16
+ - uses : actions/checkout@v4
17
+ - uses : dtolnay/rust- toolchain@master
18
18
with :
19
19
toolchain : ${{ matrix.rust }}
20
- override : true
21
- profile : minimal
22
20
- name : Unpin dependencies except on MSRV
23
21
if : matrix.rust != '1.36.0'
24
22
run : cargo update
25
- - uses : actions-rs/cargo@v1
26
- with :
27
- command : build
28
- args : --all-targets
29
- - uses : actions-rs/cargo@v1
30
- with :
31
- command : test
32
- - uses : actions-rs/cargo@v1
33
- with :
34
- command : test
35
- args : --features "serde"
36
- - uses : actions-rs/cargo@v1
37
- with :
38
- command : test
39
- args : --no-default-features
40
- - uses : actions-rs/cargo@v1
41
- with :
42
- command : test
43
- args : --no-default-features --features=hardcoded-data
23
+ - run : cargo build --all-targets
24
+ - run : cargo test
25
+ - run : cargo test --features "serde"
26
+ - run : cargo test --no-default-features
27
+ - run : cargo test --no-default-features --features=hardcoded-data
44
28
Fmt :
45
29
runs-on : ubuntu-latest
46
30
steps :
47
- - uses : actions/checkout@v2
48
- - uses : actions-rs/ toolchain@v1
31
+ - uses : actions/checkout@v4
32
+ - uses : dtolnay/rust- toolchain@stable
49
33
with :
50
- toolchain : stable
51
- override : true
52
34
components : rustfmt
53
- - uses : actions-rs/cargo@v1
54
- with :
55
- command : fmt
56
- args : --check
35
+ - run : cargo fmt --check
57
36
58
37
build_result :
59
38
name : homu build finished
0 commit comments