diff --git a/.github/workflows/build-deploy-docs.yml b/.github/workflows/build-deploy-docs.yml index bd2d57a6..16397447 100644 --- a/.github/workflows/build-deploy-docs.yml +++ b/.github/workflows/build-deploy-docs.yml @@ -25,8 +25,9 @@ jobs: run: just stable-toolchain - uses: Swatinem/rust-cache@v2 - name: Install mdbook - shell: bash - run: cargo binstall mdbook + uses: ./.github/actions/cargo-install + with: + name: mdbook - name: Install Dependencies shell: bash run: sudo apt-get install -y libwayland-dev libxkbcommon-dev # Required for winit diff --git a/.github/workflows/library-web.yml b/.github/workflows/library-web.yml index 081a0926..15c6ee1a 100644 --- a/.github/workflows/library-web.yml +++ b/.github/workflows/library-web.yml @@ -44,10 +44,11 @@ jobs: run: | just nightly-install-src - name: Install wasm-bindgen - shell: bash - run: | - # Install wasm-bindgen with test runner - cargo binstall wasm-bindgen-cli # We want the latest version, as Cargo uses the latest version of wasm-bindgen + uses: ./.github/actions/cargo-install + # Install wasm-bindgen with test runner + # We want the latest version, as Cargo uses the latest version of wasm-bindgen + with: + name: wasm-bindgen-cli - uses: Swatinem/rust-cache@v2 - name: Build lib shell: bash