From 08a3cc691b8a880a983fe2949c7406c038f02e2c Mon Sep 17 00:00:00 2001 From: Jens Vagelpohl Date: Thu, 25 Jan 2024 07:32:07 +0000 Subject: [PATCH] Update GitHub cache action to version 4 (#228) --- config/c-code/tests-cache.j2 | 2 +- config/default/tests.yml.j2 | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/config/c-code/tests-cache.j2 b/config/c-code/tests-cache.j2 index d4ddcb5..bbb0410 100644 --- a/config/c-code/tests-cache.j2 +++ b/config/c-code/tests-cache.j2 @@ -16,7 +16,7 @@ echo "dir=$(pip cache dir)" >>$GITHUB_OUTPUT - name: pip cache - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: ${{ steps.pip-cache.outputs.dir }} key: %(cache_key)s diff --git a/config/default/tests.yml.j2 b/config/default/tests.yml.j2 index c5404e0..92dd6a6 100644 --- a/config/default/tests.yml.j2 +++ b/config/default/tests.yml.j2 @@ -105,7 +105,7 @@ jobs: with: python-version: ${{ matrix.config[0] }} - name: Pip cache - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: ~/.cache/pip key: ${{ runner.os }}-pip-${{ matrix.config[0] }}-${{ hashFiles('setup.*', 'tox.ini') }}