Skip to content

Commit 0a64279

Browse files
committed
fix: add explicit toolchain parameter to rust-toolchain action
1 parent 3727766 commit 0a64279

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

.github/workflows/ci.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -136,6 +136,7 @@ jobs:
136136
- name: Install Rust toolchain
137137
uses: dtolnay/rust-toolchain@f7ccc83f9ed1e5b9c81d8a67d7ad1a747e22a561 # stable
138138
with:
139+
toolchain: stable
139140
components: clippy
140141

141142
- name: Configure sccache
@@ -178,6 +179,7 @@ jobs:
178179
- name: Install Rust toolchain
179180
uses: dtolnay/rust-toolchain@f7ccc83f9ed1e5b9c81d8a67d7ad1a747e22a561 # stable
180181
with:
182+
toolchain: stable
181183
components: rustfmt
182184

183185
- name: Check formatting
@@ -205,6 +207,8 @@ jobs:
205207

206208
- name: Install Rust toolchain
207209
uses: dtolnay/rust-toolchain@f7ccc83f9ed1e5b9c81d8a67d7ad1a747e22a561 # stable
210+
with:
211+
toolchain: stable
208212

209213
- name: Configure sccache
210214
uses: mozilla-actions/sccache-action@676c0e67b665684f17941acf5cc3af83bcf10228 # v0.0.6
@@ -251,6 +255,8 @@ jobs:
251255

252256
- name: Install Rust toolchain
253257
uses: dtolnay/rust-toolchain@f7ccc83f9ed1e5b9c81d8a67d7ad1a747e22a561 # stable
258+
with:
259+
toolchain: stable
254260

255261
- name: Configure sccache
256262
uses: mozilla-actions/sccache-action@676c0e67b665684f17941acf5cc3af83bcf10228 # v0.0.6
@@ -309,6 +315,8 @@ jobs:
309315

310316
- name: Install Rust toolchain
311317
uses: dtolnay/rust-toolchain@f7ccc83f9ed1e5b9c81d8a67d7ad1a747e22a561 # stable
318+
with:
319+
toolchain: stable
312320

313321
- name: Install cargo-audit
314322
run: cargo install cargo-audit --locked
@@ -358,6 +366,8 @@ jobs:
358366

359367
- name: Install Rust toolchain
360368
uses: dtolnay/rust-toolchain@f7ccc83f9ed1e5b9c81d8a67d7ad1a747e22a561 # stable
369+
with:
370+
toolchain: stable
361371

362372
- name: Configure sccache
363373
uses: mozilla-actions/sccache-action@676c0e67b665684f17941acf5cc3af83bcf10228 # v0.0.6
@@ -437,6 +447,8 @@ jobs:
437447

438448
- name: Install Rust toolchain
439449
uses: dtolnay/rust-toolchain@f7ccc83f9ed1e5b9c81d8a67d7ad1a747e22a561 # stable
450+
with:
451+
toolchain: stable
440452

441453
- name: Install tarpaulin
442454
run: cargo install cargo-tarpaulin --locked

0 commit comments

Comments
 (0)