@@ -14,11 +14,12 @@ jobs:
1414 timeout-minutes : 10
1515
1616 steps :
17- - uses : actions/checkout@v2
17+ - uses : actions/checkout@v3
18+ - run : cargo --version --verbose
19+ - uses : Swatinem/rust-cache@v2
20+ - uses : r7kamura/rust-problem-matchers@v1.1.0
1821 - name : " Run `cargo check`"
19- uses : actions-rs/cargo@v1
20- with :
21- command : check
22+ run : cargo check --all-targets --all
2223
2324 test :
2425 name : Test
3132 timeout-minutes : 30
3233
3334 steps :
34- - uses : actions/checkout@v2
35+ - uses : actions/checkout@v3
36+ - run : cargo --version --verbose
37+ - uses : Swatinem/rust-cache@v2
3538
3639 # install QEMU
3740 - name : Install QEMU (Linux)
@@ -53,34 +56,26 @@ jobs:
5356 - name : " Print QEMU Version"
5457 run : qemu-system-x86_64 --version
5558
59+ - uses : r7kamura/rust-problem-matchers@v1.1.0
5660 - name : Run api tests
57- uses : actions-rs/cargo@v1
58- with :
59- command : test
60- args : -p bootloader_api
61-
61+ run : cargo test -p bootloader_api
6262 - name : Run integration tests
63- uses : actions-rs/cargo@v1
64- with :
65- command : test
63+ run : cargo test
6664
6765 fmt :
6866 name : Check Formatting
6967 runs-on : ubuntu-latest
7068 steps :
71- - uses : actions/checkout@v2
72- - name : Run `cargo fmt --all -- --check`
73- uses : actions-rs/cargo@v1
74- with :
75- command : fmt
76- args : --all -- --check
69+ - uses : actions/checkout@v3
70+ - uses : r7kamura/rust-problem-matchers@v1.1.0
71+ - run : cargo fmt --all -- --check
7772
7873 clippy :
7974 name : Clippy
8075 runs-on : ubuntu-latest
8176 steps :
82- - uses : actions/checkout@v2
83- - name : Run ` cargo clippy`
84- uses : actions-rs/cargo@v1
85- with :
86- command : clippy
77+ - uses : actions/checkout@v3
78+ - run : cargo --version --verbose
79+ - uses : Swatinem/rust-cache@v2
80+ - uses : r7kamura/rust-problem-matchers@v1.1.0
81+ - run : cargo clippy --all --all-targets
0 commit comments