ci: unpin rust and mdbook versions in pages workflow
This commit is contained in:
1 file changed
+2
-6
@@ -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))
|
||||
|
||||
Reference in new issue
Block a user