Skip to content

Commit 6953514

Browse files
authored
Merge pull request #28 from Wenzel/pin_rust_toolchain
Pin rust toolchain
2 parents be767ab + 6446895 commit 6953514

File tree

4 files changed

+10
-11
lines changed

4 files changed

+10
-11
lines changed

.github/workflows/ci.yml

Lines changed: 5 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -92,10 +92,7 @@ jobs:
9292
with:
9393
lfs: true
9494

95-
- uses: dtolnay/rust-toolchain@83bdede770b06329615974cf8c786f845d824dfb # nightly
96-
with:
97-
toolchain: nightly
98-
components: rustfmt,clippy,miri
95+
- uses: dtolnay/rust-toolchain@stable
9996

10097
- name: Cache SIMICS Dependencies
10198
id: cache-simics-packages
@@ -267,14 +264,13 @@ jobs:
267264
with:
268265
lfs: false
269266

270-
- uses: dtolnay/rust-toolchain@83bdede770b06329615974cf8c786f845d824dfb # nightly
271-
with:
272-
toolchain: nightly
273-
components: rustfmt,clippy,miri
267+
- uses: dtolnay/rust-toolchain@stable
274268

275269
- name: Install Cargo Plugins
276270
run: |
277-
cargo install cargo-audit cargo-outdated cargo-unmaintained
271+
# force stable toolchain otherwise rust-toolchain will not be used
272+
# and cargo-unmaintained build will fail
273+
cargo +stable install cargo-audit cargo-outdated cargo-unmaintained
278274
279275
- name: (CT247/CT200) (N/C) - Scan 3rd-Party Components for Vulnerabilities
280276
run: |

.github/workflows/docs.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ jobs:
4545
4646
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
4747

48-
- uses: dtolnay/rust-toolchain@83bdede770b06329615974cf8c786f845d824dfb # nightly
48+
- uses: dtolnay/rust-toolchain@stable
4949

5050
- name: Install mdBook
5151
run: |

.github/workflows/publish.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,8 @@ jobs:
1919
egress-policy: audit
2020

2121
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
22-
- uses: dtolnay/rust-toolchain@83bdede770b06329615974cf8c786f845d824dfb # nightly
22+
23+
- uses: dtolnay/rust-toolchain@stable
2324

2425
- name: cargo-release Cache
2526
id: cargo_release_cache

rust-toolchain.toml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
[toolchain]
2+
channel = "nightly-2025-02-28"

0 commit comments

Comments
 (0)