diff --git a/.github/workflows/pre-commit.yml b/.github/workflows/pre-commit.yml index fddde4c..6340c0b 100644 --- a/.github/workflows/pre-commit.yml +++ b/.github/workflows/pre-commit.yml @@ -11,7 +11,7 @@ jobs: steps: - uses: actions/checkout@v4 - uses: actions/setup-python@v4 - - uses: actions/cache@v3 + - uses: actions/cache@v4 with: path: ~/.cache/pre-commit key: pre-commit|${{ env.PY }}|${{ hashFiles('.pre-commit-config.yaml') }} diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index 01268a9..2c22675 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -21,7 +21,7 @@ jobs: steps: - uses: actions/checkout@v4 - name: Cache conda - uses: actions/cache@v3 + uses: actions/cache@v4 env: # Increase this value to reset cache if ci/environment.yml has not changed CACHE_NUMBER: 0