Skip to content

Commit

Permalink
Avoid dependabot trying to update rust toolchain (#30)
Browse files Browse the repository at this point in the history
  • Loading branch information
sjoerdsimons authored Feb 18, 2024
2 parents 3f3e80c + 41ee5c0 commit 8c88e08
Showing 1 changed file with 12 additions and 6 deletions.
18 changes: 12 additions & 6 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 8c88e08

Please sign in to comment.