From 204049b83e2ace94b6be7c1bdcb75194dec2bfe3 Mon Sep 17 00:00:00 2001 From: Wez Furlong Date: Sun, 26 Mar 2023 19:47:48 -0700 Subject: [PATCH] ci: update cargo-install closes: https://github.com/wez/wezterm/pull/3377 --- .github/workflows/pages.yml | 8 +------- .github/workflows/verify-pages.yml | 8 +------- ci/build-docs.sh | 4 +--- 3 files changed, 3 insertions(+), 17 deletions(-) diff --git a/.github/workflows/pages.yml b/.github/workflows/pages.yml index 7f8650688..8061d1086 100644 --- a/.github/workflows/pages.yml +++ b/.github/workflows/pages.yml @@ -34,15 +34,9 @@ jobs: - name: "Install Rust" uses: dtolnay/rust-toolchain@stable - name: Install gelatyx - uses: baptiste0928/cargo-install@v1 + uses: baptiste0928/cargo-install@v2 with: crate: gelatyx - args: --locked - - name: Install mdbook-linkcheck - uses: baptiste0928/cargo-install@v1 - with: - crate: mdbook-linkcheck - args: --locked - uses: actions/setup-python@v4 with: python-version: 3.x diff --git a/.github/workflows/verify-pages.yml b/.github/workflows/verify-pages.yml index 0aa9d60bc..22f6b28f7 100644 --- a/.github/workflows/verify-pages.yml +++ b/.github/workflows/verify-pages.yml @@ -22,15 +22,9 @@ jobs: - name: "Install Rust" uses: dtolnay/rust-toolchain@stable - name: Install gelatyx - uses: baptiste0928/cargo-install@v1 + uses: baptiste0928/cargo-install@v2 with: crate: gelatyx - args: --locked - - name: Install mdbook-linkcheck - uses: baptiste0928/cargo-install@v1 - with: - crate: mdbook-linkcheck - args: --locked - uses: actions/setup-python@v4 with: python-version: 3.x diff --git a/ci/build-docs.sh b/ci/build-docs.sh index cac36c855..2692594d8 100755 --- a/ci/build-docs.sh +++ b/ci/build-docs.sh @@ -5,7 +5,7 @@ if [ "$1" == "serve" ] ; then SERVE=yes fi -for util in mdbook-linkcheck gelatyx ; do +for util in gelatyx ; do if ! hash $util 2>/dev/null ; then cargo install $util --locked fi @@ -38,8 +38,6 @@ function ghapi() { python3 ci/subst-release-info.py || exit 1 python3 ci/generate-docs.py || exit 1 -#mdbook-linkcheck --standalone docs - # Adjust path to pick up pip-installed binaries PATH="$HOME/.local/bin;$PATH"