File tree Expand file tree Collapse file tree 1 file changed +13
-7
lines changed
Expand file tree Collapse file tree 1 file changed +13
-7
lines changed Original file line number Diff line number Diff line change 11name : build
22on : [push]
33jobs :
4- check-fmt-clippy :
4+ rustfmt-check :
55 runs-on : ubuntu-latest
66 steps :
7+ - uses : actions/checkout@v2
78 - uses : hecrj/setup-rust-action@v1
89 with :
910 rust-version : stable
10- components : " rustfmt,clippy"
11- - uses : actions/checkout@v1
12- - name : Check fmt and clippy
13- run : cargo fmt -- --check && cargo clippy -- -Dwarnings
11+ components : rustfmt
12+ - name : Check rustfmt
13+ run : cargo fmt -- --check
1414 test :
1515 runs-on : ${{ matrix.os }}
1616 strategy :
1717 matrix :
1818 os : [ubuntu-latest, windows-latest, macOS-latest]
1919 rust : [stable, nightly]
20-
2120 steps :
21+ - uses : actions/checkout@v2
2222 - uses : hecrj/setup-rust-action@v1
2323 with :
2424 rust-version : ${{ matrix.rust }}
25- - uses : actions/checkout@v1
25+ components : clippy
26+ - name : Check clippy
27+ run : cargo clippy -- -Dwarnings
28+ - name : Build
29+ run : cargo build --verbose
30+ - name : Build Docs
31+ run : cargo doc --verbose
2632 - name : Run tests
2733 run : cargo test --verbose
You can’t perform that action at this time.
0 commit comments