-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Using dtolnay/[email protected] makes dependabot keen to update it; use dtolnay/rust-toolchain@master master instead with a toolchain specifier so it doesn't Signed-off-by: Sjoerd Simons <[email protected]>
- Loading branch information
1 parent
3f3e80c
commit 41ee5c0
Showing
1 changed file
with
12 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -16,35 +16,41 @@ jobs: | |
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- uses: dtolnay/[email protected] | ||
- uses: dtolnay/rust-toolchain@master # avoid the tag here to prevent dependabot from updating it | ||
with: | ||
toolchain: "1.70" | ||
- run: cargo check --all-targets --all-features | ||
|
||
fmt: | ||
name: cargo fmt | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- uses: dtolnay/rust-toolchain@1.70 | ||
- uses: dtolnay/rust-toolchain@master # avoid the tag here to prevent dependabot from updating it | ||
with: | ||
components: rustfmt | ||
toolchain: "1.70" | ||
components: rustfmt | ||
- run: cargo fmt --all --check | ||
|
||
test: | ||
name: cargo test | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- uses: dtolnay/[email protected] | ||
- uses: dtolnay/rust-toolchain@master # avoid the tag here to prevent dependabot from updating it | ||
with: | ||
toolchain: "1.70" | ||
- run: cargo test --all-targets --all-features | ||
|
||
clippy: | ||
name: cargo clippy | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- uses: dtolnay/rust-toolchain@1.70 | ||
- uses: dtolnay/rust-toolchain@master # avoid the tag here to prevent dependabot from updating it | ||
with: | ||
components: clippy | ||
toolchain: "1.70" | ||
components: clippy | ||
- run: cargo clippy --all-targets --all-features -- -D warnings | ||
|
||
clippy-latest: | ||
|