Przeglądaj źródła

chore: use specific working nightly version

skoupidi 2 lat temu
rodzic
commit
ee6f54c99e
3 zmienionych plików z 13 dodań i 13 usunięć
  1. 3 3
      .github/workflows/book.yml
  2. 9 9
      .github/workflows/ci.yml
  3. 1 1
      README.md

+ 3 - 3
.github/workflows/book.yml

@@ -23,14 +23,14 @@ jobs:
             - name: Install Rust (nightly)
               uses: actions-rs/toolchain@v1
               with:
-                toolchain: nightly
+                toolchain: nightly-2024-04-05
                 components: rustfmt, clippy
                 override: true
 
             - name: Install Rust (wasm32)
               uses: actions-rs/toolchain@v1
               with:
-                toolchain: nightly
+                toolchain: nightly-2024-04-05
                 target: wasm32-unknown-unknown
                 override: true
 
@@ -56,7 +56,7 @@ jobs:
                 git config --local user.email "41898282+github-actions[bot]@users.noreply.github.com"
                 git config --local user.name "bookworm"
                 cd doc
-                make github
+                make CARGO="cargo +nightly-2024-04-05" github
                 git checkout gh-pages
 
             - name: Push changes

+ 9 - 9
.github/workflows/ci.yml

@@ -13,11 +13,11 @@ jobs:
       - uses: actions/checkout@v4
       - uses: actions-rs/toolchain@v1
         with:
-          toolchain: nightly
+          toolchain: nightly-2024-04-05
           override: true
       - uses: actions-rs/toolchain@v1
         with:
-          toolchain: nightly
+          toolchain: nightly-2024-04-05
           target: wasm32-unknown-unknown
           override: true
 
@@ -34,11 +34,11 @@ jobs:
 
       - name: Run test units
         run: |
-          make test
+          make CARGO="cargo +nightly-2024-04-05" test
 
       - name: Compile all bins
         run: |
-          make
+          make CARGO="cargo +nightly-2024-04-05"
 
   feature-powerset:
     name: Test crate feature powerset on ${{ matrix.os }}
@@ -51,11 +51,11 @@ jobs:
       - uses: actions/checkout@v4
       - uses: actions-rs/toolchain@v1
         with:
-          toolchain: nightly
+          toolchain: nightly-2024-04-05
           override: true
       - uses: actions-rs/toolchain@v1
         with:
-          toolchain: nightly
+          toolchain: nightly-2024-04-05
           target: wasm32-unknown-unknown
           override: true
       - uses: taiki-e/install-action@cargo-hack
@@ -72,7 +72,7 @@ jobs:
 
       - name: Run feature powerset builds
         run: |
-          make check
+          make CARGO="cargo +nightly-2024-04-05" check
 
   fmt:
     name: rustfmt
@@ -82,8 +82,8 @@ jobs:
       - uses: actions/checkout@v4
       - uses: actions-rs/toolchain@v1
         with:
-          toolchain: nightly
+          toolchain: nightly-2024-04-05
           components: rustfmt
           override: true
       - run: |
-          cargo +nightly fmt -- --check
+          cargo +nightly-2024-04-05 fmt -- --check

+ 1 - 1
README.md

@@ -106,7 +106,7 @@ nightly version, which was known to work:
 Now we can use that toolchain in `make` directly:
 
 ```shell
-% make CARGO="cargo +nightly-2024-02-01" {target}
+% make CARGO="cargo +nightly-2024-04-05" {target}
 ```
 
 Or, if we are lazy, we can modify the `Makefile` to always use that: