diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index f6d9a3e366..48a67b7926 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -161,8 +161,7 @@ jobs: debug = false" >> .cargo/config.toml - name: caching - # Pin to 2.7.1 due to a bug in github actions cache action https://github.com/Swatinem/rust-cache/issues/182 - uses: Swatinem/rust-cache@3cf7f8cc28d1b4e7d01e3783be10a97d55d483c8 + uses: Swatinem/rust-cache@v2 with: key: clippy-${{ matrix.target }}-${{ matrix.kind }}-${{ env.CACHE_SUFFIX }} @@ -278,8 +277,7 @@ jobs: debug = false" >> .cargo/config.toml - name: caching - # Pin to 2.7.1 due to a bug in github actions cache action https://github.com/Swatinem/rust-cache/issues/182 - uses: Swatinem/rust-cache@3cf7f8cc28d1b4e7d01e3783be10a97d55d483c8 + uses: Swatinem/rust-cache@v2 with: key: msrv-check-${{ matrix.target }}-${{ env.CACHE_SUFFIX }} @@ -410,8 +408,7 @@ jobs: # Cache step must go before warp and mesa install on windows as they write into the # target directory, and rust-cache will overwrite the entirety of the target directory. - name: caching - # Pin to 2.7.1 due to a bug in github actions cache action https://github.com/Swatinem/rust-cache/issues/182 - uses: Swatinem/rust-cache@3cf7f8cc28d1b4e7d01e3783be10a97d55d483c8 + uses: Swatinem/rust-cache@v2 with: key: test-${{ matrix.os }}-${{ env.CACHE_SUFFIX }} workspaces: | @@ -582,8 +579,7 @@ jobs: debug = 1" >> .cargo/config.toml - name: caching - # Pin to 2.7.1 due to a bug in github actions cache action https://github.com/Swatinem/rust-cache/issues/182 - uses: Swatinem/rust-cache@3cf7f8cc28d1b4e7d01e3783be10a97d55d483c8 + uses: Swatinem/rust-cache@v2 with: key: doctests-${{ env.CACHE_SUFFIX }} @@ -640,8 +636,7 @@ jobs: debug = 1" >> .cargo/config.toml - name: caching - # Pin to 2.7.1 due to a bug in github actions cache action https://github.com/Swatinem/rust-cache/issues/182 - uses: Swatinem/rust-cache@3cf7f8cc28d1b4e7d01e3783be10a97d55d483c8 + uses: Swatinem/rust-cache@v2 with: key: cts-runner-${{ env.CACHE_SUFFIX }} diff --git a/.github/workflows/shaders.yml b/.github/workflows/shaders.yml index 7e4fe1aa72..d598e3ce75 100644 --- a/.github/workflows/shaders.yml +++ b/.github/workflows/shaders.yml @@ -21,8 +21,7 @@ jobs: steps: - uses: actions/checkout@v4 - # Pin to 2.7.1 due to a bug in github actions cache action https://github.com/Swatinem/rust-cache/issues/182 - - uses: Swatinem/rust-cache@3cf7f8cc28d1b4e7d01e3783be10a97d55d483c8 + - uses: Swatinem/rust-cache@v2 with: workspaces: | naga/xtask -> naga/xtask/target @@ -67,8 +66,7 @@ jobs: steps: - uses: actions/checkout@v4 - # Pin to 2.7.1 due to a bug in github actions cache action https://github.com/Swatinem/rust-cache/issues/182 - - uses: Swatinem/rust-cache@3cf7f8cc28d1b4e7d01e3783be10a97d55d483c8 + - uses: Swatinem/rust-cache@v2 with: workspaces: | naga/xtask -> naga/xtask/target @@ -86,8 +84,7 @@ jobs: - name: Install tools run: sudo apt-get install spirv-tools glslang-tools graphviz - # Pin to 2.7.1 due to a bug in github actions cache action https://github.com/Swatinem/rust-cache/issues/182 - - uses: Swatinem/rust-cache@3cf7f8cc28d1b4e7d01e3783be10a97d55d483c8 + - uses: Swatinem/rust-cache@v2 with: workspaces: | naga/xtask -> naga/xtask/target