diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 01c24661..da0d72d1 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -36,7 +36,7 @@ jobs: toolchain: ${{ matrix.rust }} - uses: Swatinem/rust-cache@v2 with: - key: ${{ matrix.rust }}-${{ matrix.profile }} + key: ${{ matrix.runs-on }}-${{ matrix.rust }}-${{ matrix.profile }} - name: Build ${{ matrix.profile }} run: | cargo build --profile=${{ matrix.profile }} ${{ matrix.args }} --lib