Skip to content

Commit e3b2e67

Browse files
committed
chore: avoid dependabot updating the rust toolchain
1 parent 9ab0886 commit e3b2e67

File tree

1 file changed

+9
-5
lines changed

1 file changed

+9
-5
lines changed

.github/workflows/ci.yml

+9-5
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,9 @@ jobs:
1212
runs-on: ubuntu-latest
1313
steps:
1414
- uses: actions/checkout@v4
15-
- uses: dtolnay/[email protected]
15+
- uses: dtolnay/rust-toolchain@master # avoid the tack to prevent dependabot updates
16+
with:
17+
toolchain: "1.81"
1618
- run: cargo test --all-targets --all-features
1719
- run: cargo test --doc --all-features
1820

@@ -21,19 +23,21 @@ jobs:
2123
runs-on: ubuntu-latest
2224
steps:
2325
- uses: actions/checkout@v4
24-
- uses: dtolnay/rust-toolchain@1.81
26+
- uses: dtolnay/rust-toolchain@master # avoid the tack to prevent dependabot updates
2527
with:
26-
components: rustfmt
28+
toolchain: "1.81"
29+
components: rustfmt
2730
- run: cargo fmt --all --check
2831

2932
clippy:
3033
name: cargo clippy
3134
runs-on: ubuntu-latest
3235
steps:
3336
- uses: actions/checkout@v4
34-
- uses: dtolnay/rust-toolchain@1.81
37+
- uses: dtolnay/rust-toolchain@master # avoid the tack to prevent dependabot updates
3538
with:
36-
components: clippy
39+
toolchain: "1.81"
40+
components: clippy
3741
- run: cargo clippy --all-targets --all-features -- -D warnings
3842

3943
allgreen:

0 commit comments

Comments
 (0)