mirror of
https://github.com/Noratrieb/vechonk.git
synced 2026-01-14 16:45:10 +01:00
better rust toolchain
This commit is contained in:
parent
1d4ca0bcda
commit
e479d5a1c5
1 changed files with 3 additions and 10 deletions
13
.github/workflows/rust.yml
vendored
13
.github/workflows/rust.yml
vendored
|
|
@ -129,9 +129,7 @@ jobs:
|
|||
- uses: actions/checkout@v2
|
||||
with:
|
||||
fetch-depth: 1
|
||||
- uses: hecrj/setup-rust-action@v1
|
||||
with:
|
||||
rust-version: nightly
|
||||
- uses: dtolnay/rust-toolchain@nightly
|
||||
- name: Run cargo clippy (default features)
|
||||
run: cargo clippy --all-targets --verbose -- -D clippy::all
|
||||
|
||||
|
|
@ -143,10 +141,7 @@ jobs:
|
|||
- uses: actions/checkout@v2
|
||||
with:
|
||||
fetch-depth: 1
|
||||
- uses: hecrj/setup-rust-action@v1
|
||||
with:
|
||||
rust-version: nightly
|
||||
components: rustfmt
|
||||
- uses: dtolnay/rust-toolchain@nightly
|
||||
- name: Check formatting
|
||||
run: cargo fmt --all -- --check
|
||||
|
||||
|
|
@ -158,9 +153,7 @@ jobs:
|
|||
- uses: actions/checkout@v2
|
||||
with:
|
||||
fetch-depth: 1
|
||||
- uses: hecrj/setup-rust-action@v1
|
||||
with:
|
||||
rust-version: nightly
|
||||
- uses: dtolnay/rust-toolchain@nightly
|
||||
- name: Check docs
|
||||
# Note: needs cargo rustdoc, not cargo doc.
|
||||
run: cargo rustdoc --all-features -- -D warnings
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue