diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 4440e865..1aa5e3e5 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -19,19 +19,16 @@ jobs: matrix: rust: ["1.59.0", "stable"] steps: - - uses: hecrj/setup-rust-action@967aec96c6a27a0ce15c1dac3aaba332d60565e2 + - uses: hecrj/setup-rust-action@50a120e4d34903c2c1383dec0e9b1d349a9cc2b1 with: rust-version: ${{ matrix.rust }} components: rustfmt,clippy - uses: actions/checkout@v1 - - name: "Get cargo bin directory" - id: cargo-bin-dir - run: echo "::set-output name=dir::$HOME/.cargo/bin" - name: "Cache cargo make" id: cache-cargo-make - uses: actions/cache@v2 + uses: actions/cache@v3 with: - path: ${{ steps.cargo-bin-dir.outputs.dir }}/cargo-make + path: ~/.cargo/bin/cargo-make key: ${{ runner.os }}-${{ matrix.rust }}-cargo-make-${{ env.CI_CARGO_MAKE_VERSION }} - name: "Install cargo-make" if: steps.cache-cargo-make.outputs.cache-hit != 'true' @@ -48,19 +45,16 @@ jobs: rust: ["1.59.0", "stable"] steps: - uses: actions/checkout@v1 - - uses: hecrj/setup-rust-action@967aec96c6a27a0ce15c1dac3aaba332d60565e2 + - uses: hecrj/setup-rust-action@50a120e4d34903c2c1383dec0e9b1d349a9cc2b1 with: rust-version: ${{ matrix.rust }} components: rustfmt,clippy - uses: actions/checkout@v1 - - name: "Get cargo bin directory" - id: cargo-bin-dir - run: echo "::set-output name=dir::$HOME\.cargo\bin" - name: "Cache cargo make" id: cache-cargo-make - uses: actions/cache@v2 + uses: actions/cache@v3 with: - path: ${{ steps.cargo-bin-dir.outputs.dir }}\cargo-make.exe + path: ~\.cargo\bin\cargo-make.exe key: ${{ runner.os }}-${{ matrix.rust }}-cargo-make-${{ env.CI_CARGO_MAKE_VERSION }} - name: "Install cargo-make" if: steps.cache-cargo-make.outputs.cache-hit != 'true'