diff --git a/.github/workflows/pre-commit.yml b/.github/workflows/pre-commit.yml index 878f0f8d6..174dfbd0b 100644 --- a/.github/workflows/pre-commit.yml +++ b/.github/workflows/pre-commit.yml @@ -33,7 +33,7 @@ jobs: result = "${{ runner.os }}-{}-{}-pre-commit".format(python, digest) cmd = f'echo "result={result}" >> $GITHUB_OUTPUT' subprocess.run(cmd, shell=True) - - uses: actions/cache@v3 + - uses: actions/cache@v4 if: matrix.os != 'windows-latest' with: path: ~/.cache/pre-commit diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 65b6c3565..8075eff6e 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -76,7 +76,7 @@ jobs: result = "${{ runner.os }}-{}-{}-pre-commit".format(python, digest[:8]) cmd = f'echo "result={result}" >> $GITHUB_OUTPUT' subprocess.run(cmd, shell=True) - - uses: actions/cache@v3 + - uses: actions/cache@v4 if: matrix.os != 'windows-latest' with: path: ~/.cache/pre-commit