Pin old nightly to get back nightly rustdoc features
This commit is contained in:
parent
cad5e81c68
commit
cc97fe8db4
12
.github/workflows/docs.yml
vendored
12
.github/workflows/docs.yml
vendored
@ -21,12 +21,20 @@ jobs:
|
||||
uses: actions-rs/toolchain@v1
|
||||
with:
|
||||
profile: minimal
|
||||
# Needed for use of unstable options
|
||||
toolchain: nightly
|
||||
# Nightly needed for use of unstable options
|
||||
# Pinned because of https://github.com/rust-lang/cargo/issues/10744
|
||||
toolchain: nightly-2022-03-01
|
||||
override: true
|
||||
|
||||
- uses: Swatinem/rust-cache@v1
|
||||
|
||||
# lock_api 0.4.7 doesn't compile with our currently-pinned nightly
|
||||
- name: Downgrade lock_api
|
||||
uses: actions-rs/cargo@v1
|
||||
with:
|
||||
command: update
|
||||
args: -p lock_api --precise 0.4.6
|
||||
|
||||
- name: Build docs
|
||||
uses: actions-rs/cargo@v1
|
||||
with:
|
||||
|
Loading…
x
Reference in New Issue
Block a user