Use nightly toolchain in document CI workflow

This commit is contained in:
Héctor Ramón Jiménez 2022-05-03 19:48:32 +02:00
parent 62677eafc0
commit 02914e5e68
No known key found for this signature in database
GPG key ID: 140CC052C94F138E

View file

@ -10,9 +10,12 @@ jobs:
group: ${{ github.workflow }}-${{ github.ref }}
steps:
- uses: hecrj/setup-rust-action@v1
with:
rust-version: nightly
- uses: actions/checkout@v2
- name: Generate documentation
run: |
RUSTDOCFLAGS="--cfg docsrs" \
cargo doc --no-deps --all-features \
-p iced_core \
-p iced_style \