Skip to content

Commit

Permalink
chore: build docs on stable (#204)
Browse files Browse the repository at this point in the history
* 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>
  • Loading branch information
konstin and mpizenberg committed Apr 4, 2024
1 parent 8d82201 commit 6ebfbae
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 8 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,11 +47,11 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@nightly
- uses: dtolnay/rust-toolchain@stable
- name: Check documentation
env:
RUSTDOCFLAGS: -D warnings
run: cargo +nightly doc --no-deps --document-private-items
run: cargo doc --no-deps --document-private-items

check_commit_conventions:
name: Commit messages follow project guidelines
Expand Down
8 changes: 2 additions & 6 deletions .github/workflows/deploy_documentation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,14 +14,10 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install nightly
uses: actions-rs/toolchain@v1
with:
toolchain: nightly
profile: minimal
- uses: dtolnay/rust-toolchain@stable

- name: Build documentation
run: cargo +nightly doc --no-deps
run: cargo doc --no-deps

- name: Deploy documentation
if: ${{ github.event_name == 'branches' }}
Expand Down

0 comments on commit 6ebfbae

Please sign in to comment.