@@ -15,18 +15,15 @@ jobs:
1515 runs-on : ${{ matrix.platform }}
1616
1717 steps :
18- - uses : actions/checkout@v2
18+ - uses : actions/checkout@v4
1919 - name : Install ${{ matrix.toolchain }} toolchain
20- uses : actions-rs/ toolchain@v1
20+ uses : dtolnay/rust- toolchain@stable
2121 with :
2222 profile : minimal
2323 toolchain : ${{ matrix.toolchain }}
24- override : true
2524
2625 - name : Run cargo check
27- uses : actions-rs/cargo@v1
28- with :
29- command : check
26+ run : cargo check
3027
3128 test :
3229 name : Test Suite
@@ -37,46 +34,33 @@ jobs:
3734 runs-on : ${{ matrix.platform }}
3835 steps :
3936 - name : Checkout sources
40- uses : actions/checkout@v2
37+ uses : actions/checkout@v4
4138 with :
4239 submodules : true
4340
4441 - name : Install ${{ matrix.toolchain }} toolchain
45- uses : actions-rs/ toolchain@v1
42+ uses : dtolnay/rust- toolchain@stable
4643 with :
47- profile : minimal
4844 toolchain : ${{ matrix.toolchain }}
49- override : true
5045
5146 - name : Run cargo test
52- uses : actions-rs/cargo@v1
53- with :
54- command : test
55- args : --test geoip
47+ run : cargo test --test geoip
5648
5749 lints :
5850 name : Lints
5951 runs-on : ubuntu-latest
6052 steps :
6153 - name : Checkout sources
62- uses : actions/checkout@v2
54+ uses : actions/checkout@v4
6355
6456 - name : Install stable toolchain
65- uses : actions-rs/ toolchain@v1
57+ uses : dtolnay/rust- toolchain@stable
6658 with :
67- profile : minimal
6859 toolchain : stable
69- override : true
7060 components : rustfmt, clippy
7161
7262 - name : Run cargo fmt
73- uses : actions-rs/cargo@v1
74- with :
75- command : fmt
76- args : --all -- --check
63+ run : cargo fmt --all --check
7764
7865 - name : Run cargo clippy
79- uses : actions-rs/cargo@v1
80- with :
81- command : clippy
82- args : -- -D warnings
66+ run : cargo clippy -- -D warnings
0 commit comments