diff --git a/.github/workflows/ci-master.yml b/.github/workflows/ci-master.yml index 5f4b7428..66bc042e 100644 --- a/.github/workflows/ci-master.yml +++ b/.github/workflows/ci-master.yml @@ -49,8 +49,8 @@ jobs: with: toolchain: ${{ matrix.version }} - - name: Install cargo-hack - run: cargo install cargo-hack + - uses: taiki-e/cache-cargo-install-action@v1 + with: { tool: cargo-hack } - name: check lib if: > @@ -119,11 +119,11 @@ jobs: uses: actions-rust-lang/setup-rust-toolchain@v1 with: { toolchain: nightly } - - name: Install cargo-minimal-versions - run: cargo install cargo-minimal-versions + - uses: taiki-e/cache-cargo-install-action@v1 + with: { tool: cargo-minimal-versions } - - name: Install cargo-hack - run: cargo install cargo-hack + - uses: taiki-e/cache-cargo-install-action@v1 + with: { tool: cargo-hack } - name: Check With Minimal Versions run: cargo minimal-versions check diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 9e0fcf11..f59d79e9 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -50,8 +50,8 @@ jobs: with: toolchain: ${{ matrix.version }} - - name: Install cargo-hack - run: cargo install cargo-hack + - uses: taiki-e/cache-cargo-install-action@v1 + with: { tool: cargo-hack } - name: Generate Cargo.lock run: cargo generate-lockfile