diff --git a/.github/workflows/ci_testing.yml b/.github/workflows/ci_testing.yml index c1728c2..fb00fe0 100644 --- a/.github/workflows/ci_testing.yml +++ b/.github/workflows/ci_testing.yml @@ -49,7 +49,7 @@ jobs: run: echo "dir=$(pip cache dir)" >> $GITHUB_OUTPUT - name: Cache pip - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: ${{ steps.pip-cache.outputs.dir }} key: ${{ runner.os }}-${{ matrix.python-version }}-pip-${{ hashFiles('requirements.txt') }} diff --git a/.github/workflows/code-format.yml b/.github/workflows/code-format.yml index 120f13f..8f3e0ae 100644 --- a/.github/workflows/code-format.yml +++ b/.github/workflows/code-format.yml @@ -23,7 +23,7 @@ jobs: - name: set PY run: echo "PY=$(python -VV | sha256sum | cut -d' ' -f1)" >> $GITHUB_ENV - - uses: actions/cache@v3 + - uses: actions/cache@v4 with: path: ~/.cache/pre-commit key: pre-commit|${{ env.PY }}|${{ hashFiles('.pre-commit-config.yaml') }}