summaryrefslogtreecommitdiffstats
path: root/.github
diff options
context:
space:
mode:
authorLibravatar Héctor Ramón Jiménez <hector0193@gmail.com>2022-05-03 19:48:32 +0200
committerLibravatar Héctor Ramón Jiménez <hector0193@gmail.com>2022-05-03 19:51:10 +0200
commit02914e5e68d1fbaad53483cd32c74d9ac448d1eb (patch)
tree0e3b3608a1ae9b65f9aef290684ccb0403f62b51 /.github
parent62677eafc0c11e8dcbede9870a74cdcccfeba55c (diff)
downloadiced-02914e5e68d1fbaad53483cd32c74d9ac448d1eb.tar.gz
iced-02914e5e68d1fbaad53483cd32c74d9ac448d1eb.tar.bz2
iced-02914e5e68d1fbaad53483cd32c74d9ac448d1eb.zip
Use `nightly` toolchain in `document` CI workflow
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/document.yml5
1 files changed, 4 insertions, 1 deletions
diff --git a/.github/workflows/document.yml b/.github/workflows/document.yml
index b67a62ab..5a8cb252 100644
--- a/.github/workflows/document.yml
+++ b/.github/workflows/document.yml
@@ -10,10 +10,13 @@ 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: |
- cargo doc --no-deps --all-features \
+ RUSTDOCFLAGS="--cfg docsrs" \
+ cargo doc --no-deps --all-features \
-p iced_core \
-p iced_style \
-p iced_futures \