From 0db3895e9576034c0c5d887f3192cd8b406dfb1b Mon Sep 17 00:00:00 2001 From: Stefan Behnel Date: Wed, 3 Apr 2024 08:21:58 +0200 Subject: [PATCH] CI: Use ccache more broadly. It can take care of C configuration changes itself, no need to discard it on every config hash change. --- .github/workflows/ci.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index a12c38a56..cfff05e32 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -174,10 +174,10 @@ jobs: uses: hendrikmuhs/ccache-action@v1.2 if: runner.os == 'Linux' || runner.os == 'macOS' with: - max_size: 950M + max-size: 950M create-symlink: true verbose: 1 - key: ${{ runner.os }}-ccache${{ matrix.extra_hash }}-${{ matrix.python-version }}-${{ matrix.env.STATIC_DEPS }}-${{ hashFiles('.github/workflows/ci.yml', 'tools/ci-run.sh') }} + key: ${{ runner.os }}-ccache${{ matrix.extra_hash }}-${{ matrix.python-version }}-${{ matrix.env.STATIC_DEPS }} - name: Cache [libs] uses: actions/cache@0c45773b623bea8c8e75f6c82b208c3cf94ea4f9 # v4.0.2