From e3b2e670bceca9f392bd905ef10aff937e5c2fc5 Mon Sep 17 00:00:00 2001 From: Sjoerd Simons Date: Sat, 19 Oct 2024 21:09:52 +0200 Subject: [PATCH] chore: avoid dependabot updating the rust toolchain --- .github/workflows/ci.yml | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 847ea4c..c3644ed 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -12,7 +12,9 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - - uses: dtolnay/rust-toolchain@1.81 + - uses: dtolnay/rust-toolchain@master # avoid the tack to prevent dependabot updates + with: + toolchain: "1.81" - run: cargo test --all-targets --all-features - run: cargo test --doc --all-features @@ -21,9 +23,10 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - - uses: dtolnay/rust-toolchain@1.81 + - uses: dtolnay/rust-toolchain@master # avoid the tack to prevent dependabot updates with: - components: rustfmt + toolchain: "1.81" + components: rustfmt - run: cargo fmt --all --check clippy: @@ -31,9 +34,10 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - - uses: dtolnay/rust-toolchain@1.81 + - uses: dtolnay/rust-toolchain@master # avoid the tack to prevent dependabot updates with: - components: clippy + toolchain: "1.81" + components: clippy - run: cargo clippy --all-targets --all-features -- -D warnings allgreen: