Pin old nightly to get back nightly rustdoc features

This commit is contained in:
Jonas Platte 2022-06-13 11:51:40 +02:00
parent cad5e81c68
commit cc97fe8db4
No known key found for this signature in database
GPG Key ID: AAA7A61F696C3E0C

View File

@ -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: