File tree Expand file tree Collapse file tree 4 files changed +13
-30
lines changed
Expand file tree Collapse file tree 4 files changed +13
-30
lines changed Original file line number Diff line number Diff line change @@ -16,17 +16,11 @@ jobs:
1616 steps :
1717 - uses : actions/checkout@v3
1818
19- - uses : actions-rs/ toolchain@v1
19+ - uses : dtolnay/rust- toolchain@stable
2020 name : Install rust toolchain
21- with :
22- toolchain : stable
23- override : true
2421
2522 - uses : Swatinem/rust-cache@v2
2623 name : Add caching
2724
28- - uses : actions-rs/cargo@v1
29- name : Build crate
30- with :
31- command : build
32- args : --verbose --all-features
25+ - name : Build crate
26+ run : cargo build --verbose --all-features
Original file line number Diff line number Diff line change @@ -16,17 +16,11 @@ jobs:
1616 steps :
1717 - uses : actions/checkout@v3
1818
19- - uses : actions-rs/ toolchain@v1
19+ - uses : dtolnay/rust- toolchain@stable
2020 name : Install rust toolchain
21- with :
22- toolchain : stable
23- override : true
2421
2522 - uses : Swatinem/rust-cache@v2
2623 name : Add caching
2724
28- - uses : actions-rs/cargo@v1
29- name : Check Documentation with Rustdoc
30- with :
31- command : doc
32- args : --verbose --no-deps
25+ - name : Check Documentation with Rustdoc
26+ run : cargo doc --verbose --no-deps
Original file line number Diff line number Diff line change 88 steps :
99 - uses : actions/checkout@v3
1010
11- - uses : actions-rs/ toolchain@v1
11+ - uses : dtolnay/rust- toolchain@stable
1212 name : Install Rust Toolchain
1313 with :
14- toolchain : stable
1514 components : clippy
16- override : true
1715
1816 - uses : Swatinem/rust-cache@v2
1917 name : Add caching
2018
21- - uses : actions-rs/clippy-check@v1
22- name : Lint and Check codebase with Clippy
23- with :
24- token : ${{ secrets.GITHUB_TOKEN }}
25- args : --all-features --verbose
19+ - name : Add problem matcher
20+ run : echo "::add-matcher::${{ runner.tool_cache }}/rust.json"
21+
22+ - name : Lint and Check codebase with Clippy
23+ run : cargo clippy --all-features --verbose -- -D warnings
Original file line number Diff line number Diff line change 1313 runs-on : ubuntu-latest
1414 steps :
1515 - uses : actions/checkout@v3
16- - uses : actions-rs/toolchain@v1
17- with :
18- toolchain : stable
19- override : true
16+ - uses : dtolnay/rust-toolchain@stable
2017 - uses : katyo/publish-crates@v2
2118 with :
2219 registry-token : ${{ secrets.CARGO_REGISTRY_TOKEN }}
You can’t perform that action at this time.
0 commit comments