Skip to content

Commit

Permalink
pin to previous nightly build to avoid compiler regression
Browse files Browse the repository at this point in the history
  • Loading branch information
ralexstokes committed Oct 30, 2023
1 parent 652be3a commit 0a3aef8
Show file tree
Hide file tree
Showing 4 changed files with 256 additions and 245 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/book.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,10 @@ jobs:
fetch-depth: 0

- name: Install toolchain
uses: dtolnay/rust-toolchain@nightly
uses: dtolnay/rust-toolchain@master
with:
toolchain: nightly-2023-10-29

- uses: Swatinem/rust-cache@v2
with:
cache-on-failure: true
Expand All @@ -71,7 +74,7 @@ jobs:
run: mdbook build

- name: Build docs
run: RUSTDOCFLAGS="--enable-index-page -Zunstable-options" cargo +nightly doc --all --no-deps
run: RUSTDOCFLAGS="--enable-index-page -Zunstable-options" cargo +nightly-2023-10-29 doc --all --no-deps

- name: Move docs to book folder
run: |
Expand Down
7 changes: 4 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,9 @@ jobs:
uses: actions/checkout@v3

- name: Install toolchain
uses: dtolnay/rust-toolchain@nightly
uses: dtolnay/rust-toolchain@master
with:
toolchain: nightly-2023-10-29
components: rustfmt, clippy

- name: Rust cache
Expand All @@ -56,7 +57,7 @@ jobs:
cache-on-failure: true

- name: Check format
run: cargo +nightly fmt --all --check
run: cargo +nightly-2023-10-29 fmt --all --check

- name: Check clippy
run: cargo +nightly clippy --all-targets --all-features --all --verbose -- -D warnings
run: cargo +nightly-2023-10-29 clippy --all-targets --all-features --all --verbose -- -D warnings
Loading

0 comments on commit 0a3aef8

Please sign in to comment.