Skip to content

Commit 244b636

Browse files
committed
Use fixed Nitghtly version for rustdocs and add CI config comments
1 parent 77ffa04 commit 244b636

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

.github/workflows/workspace.yml

+8-1
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,10 @@ jobs:
1919
- uses: actions/checkout@v3
2020
- uses: dtolnay/rust-toolchain@master
2121
with:
22+
# We need Nightly for -Zbuild-std.
23+
# Fixed Nigthly version is used to prevent
24+
# CI failures which are not relevant to PR changes
25+
# on introduction of new Clippy lints.
2226
toolchain: nightly-2024-06-11
2327
components: clippy,rust-src
2428
- name: std feature
@@ -79,7 +83,10 @@ jobs:
7983
runs-on: ubuntu-latest
8084
steps:
8185
- uses: actions/checkout@v3
82-
- uses: dtolnay/rust-toolchain@nightly # Needed for doc_auto_cfg
86+
- uses: dtolnay/rust-toolchain@master
87+
with:
88+
# We need Nightly for doc_auto_cfg
89+
toolchain: nightly-2024-06-11
8390
- uses: Swatinem/rust-cache@v2
8491
- name: Generate Docs
8592
env:

0 commit comments

Comments
 (0)