diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index aa38d65979..694aaf1670 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -23,7 +23,7 @@ jobs: python-version: ${{ matrix.python-version }} - name: Cache pip - uses: actions/cache@v4 + uses: actions/cache@v5 with: path: ~/.cache/pip key: ${{ runner.os }}-pip-${{ matrix.python-version }}-${{ hashFiles('**/requirements.txt') }} @@ -31,7 +31,7 @@ jobs: ${{ runner.os }}-pip-${{ matrix.python-version }}- - name: Cache virtualenv - uses: actions/cache@v4 + uses: actions/cache@v5 with: path: .venv key: ${{ runner.os }}-venv-${{ matrix.python-version }}-${{ github.run_id }} diff --git a/.github/workflows/prompt_smoke_ci.yml b/.github/workflows/prompt_smoke_ci.yml index 4259cfbcdb..23b0697f35 100644 --- a/.github/workflows/prompt_smoke_ci.yml +++ b/.github/workflows/prompt_smoke_ci.yml @@ -34,7 +34,7 @@ jobs: with: python-version: '3.11' - name: Cache pip - uses: actions/cache@v4 + uses: actions/cache@v5 with: path: ~/.cache/pip key: ${{ runner.os }}-pip-${{ hashFiles('ci-requirements.txt') }} @@ -65,7 +65,7 @@ jobs: with: python-version: '3.11' - name: Cache pip - uses: actions/cache@v4 + uses: actions/cache@v5 with: path: ~/.cache/pip key: ${{ runner.os }}-pip-full-${{ hashFiles('ci-requirements.txt') }} diff --git a/.github/workflows/release-artifacts.yml b/.github/workflows/release-artifacts.yml index 1a7e921b42..a4a86b8216 100644 --- a/.github/workflows/release-artifacts.yml +++ b/.github/workflows/release-artifacts.yml @@ -66,7 +66,7 @@ jobs: install: true - name: Set up docker layer caching - uses: actions/cache@v4 + uses: actions/cache@v5 with: path: /tmp/.buildx-cache key: ${{ runner.os }}-buildx-${{ github.sha }} diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index d8e195956d..12f129db50 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -165,7 +165,7 @@ jobs: # Cribbed from # https://github.com/AustinScola/mypy-cache-github-action/blob/85ea4f2972abed39b33bd02c36e341b28ca59213/src/restore.ts#L10-L17 - name: Restore/persist mypy's cache - uses: actions/cache@v4 + uses: actions/cache@v5 with: path: | .mypy_cache