ci: unpin rust and mdbook versions in pages workflow

This commit is contained in:
Wez Furlong committed 2023-01-23 19:06:35 -07:00
1 parent b74cd91789
commit dd28dbae0a
1 file changed
+2 -6
+2 -6
View File
@@ -24,11 +24,7 @@ jobs:
uses: actions-rs/toolchain@v1
with:
profile: "minimal"
# pinned on 1.63 because of breakage:
# https://github.com/rust-lang/mdBook/issues/1860
# https://github.com/badboy/mdbook-mermaid/pull/23
# https://github.com/Michael-F-Bryan/mdbook-linkcheck/issues/73
toolchain: "1.63.0"
toolchain: "stable"
default: true
override: true
components: "rustfmt"
@@ -44,7 +40,7 @@ jobs:
key: ${{ runner.os }}-cargo-mdbook-${{ hashFiles('.github/workflows/pages.yml') }}
- name: Install mdBook
run: |
(test -x ~/.cargo/bin/mdbook || (cd && cargo install mdbook --no-default-features --features search --vers "0.4.21" --locked))
(test -x ~/.cargo/bin/mdbook || (cd && cargo install mdbook --no-default-features --features search --vers "^0.4" --locked))
- name: Install mdBook linkcheck
run: |
(test -x ~/.cargo/bin/mdbook-linkcheck || (cd && cargo install mdbook-linkcheck --locked))