Skip to content

Commit

Permalink
chore: build docs on stable
Browse files Browse the repository at this point in the history
The reasons why nightly was used  (#31 (comment)) don't apply anymore. This change removes all nightly usages in the repo, only stable remains.
  • Loading branch information
konstin committed Mar 26, 2024
1 parent 561bfe5 commit 2861db0
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 -- -D warnings

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 @@ -13,11 +13,7 @@ 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: Download cache
uses: actions/cache@v4
Expand All @@ -30,7 +26,7 @@ jobs:
key: documentation

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

- name: Deploy documentation
uses: peaceiris/actions-gh-pages@v3
Expand Down

0 comments on commit 2861db0

Please sign in to comment.