From 244b6364a490f4a0dfbe595a1373dede8a635613 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=90=D1=80=D1=82=D1=91=D0=BC=20=D0=9F=D0=B0=D0=B2=D0=BB?= =?UTF-8?q?=D0=BE=D0=B2=20=5BArtyom=20Pavlov=5D?= Date: Fri, 14 Jun 2024 16:33:01 +0300 Subject: [PATCH] Use fixed Nitghtly version for rustdocs and add CI config comments --- .github/workflows/workspace.yml | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/.github/workflows/workspace.yml b/.github/workflows/workspace.yml index ca72e61e..45813bc1 100644 --- a/.github/workflows/workspace.yml +++ b/.github/workflows/workspace.yml @@ -19,6 +19,10 @@ jobs: - uses: actions/checkout@v3 - uses: dtolnay/rust-toolchain@master with: + # We need Nightly for -Zbuild-std. + # Fixed Nigthly version is used to prevent + # CI failures which are not relevant to PR changes + # on introduction of new Clippy lints. toolchain: nightly-2024-06-11 components: clippy,rust-src - name: std feature @@ -79,7 +83,10 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v3 - - uses: dtolnay/rust-toolchain@nightly # Needed for doc_auto_cfg + - uses: dtolnay/rust-toolchain@master + with: + # We need Nightly for doc_auto_cfg + toolchain: nightly-2024-06-11 - uses: Swatinem/rust-cache@v2 - name: Generate Docs env: