File tree Expand file tree Collapse file tree 1 file changed +25
-5
lines changed Expand file tree Collapse file tree 1 file changed +25
-5
lines changed Original file line number Diff line number Diff line change 11name : Development Checks
22
3- on : [pull_request]
3+ on : [push, pull_request]
44
55jobs :
6- format :
6+ run :
77 runs-on : ubuntu-latest
88 env :
99 CARGO_TERM_COLOR : always
1010 steps :
1111 - uses : actions/checkout@v3
1212 - uses : dtolnay/rust-toolchain@nightly
1313 with :
14- components : rustfmt
14+ components : rustfmt, clippy
1515 - uses : Swatinem/rust-cache@v2
16- - name : Verify Formatting
16+ - name : Format
1717 uses : ClementTsang/cargo-action@main
1818 with :
1919 command : fmt
20- args : --all --check
20+ args : --all --check
21+ - name : Check
22+ uses : ClementTsang/cargo-action@main
23+ with :
24+ command : check
25+ args : --all-targets
26+ - name : Clippy
27+ uses : ClementTsang/cargo-action@main
28+ with :
29+ command : clippy
30+ args : --all-targets
31+ - name : Build
32+ uses : ClementTsang/cargo-action@main
33+ with :
34+ command : build
35+ args : --all-targets
36+ - name : Test
37+ uses : ClementTsang/cargo-action@main
38+ with :
39+ command : test
40+ args : --all-targets
You can’t perform that action at this time.
0 commit comments