From 5bba632331829fcb58a339bbc0b26d2b2e327170 Mon Sep 17 00:00:00 2001 From: Antonios Barotsis Date: Fri, 26 Jan 2024 11:36:10 +0100 Subject: [PATCH] Make sure key is generated correctly) --- .github/workflows/build-and-test.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/build-and-test.yml b/.github/workflows/build-and-test.yml index 8fb9bbb..929a956 100644 --- a/.github/workflows/build-and-test.yml +++ b/.github/workflows/build-and-test.yml @@ -4,6 +4,7 @@ on: push: branches: - main + - ciCaching # TODO: Remove before merging tags: - "[0-9]+.[0-9]+.[0-9]+" pull_request: @@ -96,6 +97,10 @@ jobs: run: | rustup toolchain install stable nightly --profile minimal -t ${{ matrix.target }} + - uses: Swatinem/rust-cache@v2 + with: + key: "${{ matrix.target }}-${{ env.EXTRA_CARGO_FLAGS }}" + - name: Test on stable # there's no way to run tests for ARM64 Windows for now if: matrix.target != 'aarch64-pc-windows-msvc'