Skip to content

Commit 6ebfbae

Browse files
konstinmpizenberg
andauthored
chore: build docs on stable (#204)
* chore: build docs on stable The reasons why nightly was used (#31 (comment)) don't apply anymore. This change removes all nightly usages in the repo, only stable remains. * ci: remove erroring cargo doc argument --------- Co-authored-by: Matthieu Pizenberg <matthieu.pizenberg@gmail.com>
1 parent 8d82201 commit 6ebfbae

File tree

2 files changed

+4
-8
lines changed

2 files changed

+4
-8
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,11 +47,11 @@ jobs:
4747
runs-on: ubuntu-latest
4848
steps:
4949
- uses: actions/checkout@v4
50-
- uses: dtolnay/rust-toolchain@nightly
50+
- uses: dtolnay/rust-toolchain@stable
5151
- name: Check documentation
5252
env:
5353
RUSTDOCFLAGS: -D warnings
54-
run: cargo +nightly doc --no-deps --document-private-items
54+
run: cargo doc --no-deps --document-private-items
5555

5656
check_commit_conventions:
5757
name: Commit messages follow project guidelines

.github/workflows/deploy_documentation.yml

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -14,14 +14,10 @@ jobs:
1414
runs-on: ubuntu-latest
1515
steps:
1616
- uses: actions/checkout@v4
17-
- name: Install nightly
18-
uses: actions-rs/toolchain@v1
19-
with:
20-
toolchain: nightly
21-
profile: minimal
17+
- uses: dtolnay/rust-toolchain@stable
2218

2319
- name: Build documentation
24-
run: cargo +nightly doc --no-deps
20+
run: cargo doc --no-deps
2521

2622
- name: Deploy documentation
2723
if: ${{ github.event_name == 'branches' }}

0 commit comments

Comments
 (0)