diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index bed66b082..fbd0f55ed 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -95,7 +95,7 @@ jobs: run: uv python install 3.11 - name: Cache uv-managed virtualenv - uses: actions/cache@v5 + uses: actions/cache@v6 with: path: .venv key: venv-quality-${{ runner.os }}-py3.11-${{ hashFiles('uv.lock', 'pyproject.toml') }} @@ -110,7 +110,7 @@ jobs: - name: Load cached Pre-Commit Dependencies id: cached-pre-commit-dependencies - uses: actions/cache@v5 + uses: actions/cache@v6 with: path: ~/.cache/pre-commit/ key: pre-commit|${{ env.pythonLocation }}|${{ hashFiles('.pre-commit-config.yaml') }} @@ -169,7 +169,7 @@ jobs: run: uv python install ${{ matrix.python-version }} - name: Cache uv-managed virtualenv - uses: actions/cache@v5 + uses: actions/cache@v6 with: path: .venv key: venv-unit-${{ runner.os }}-py${{ matrix.python-version }}-${{ hashFiles('uv.lock', 'pyproject.toml') }} @@ -255,7 +255,7 @@ jobs: run: uv python install ${{ matrix.python-version }} - name: Cache uv-managed virtualenv - uses: actions/cache@v5 + uses: actions/cache@v6 with: path: .venv key: venv-integration-${{ runner.os }}-py${{ matrix.python-version }}-${{ hashFiles('uv.lock', 'pyproject.toml') }} @@ -290,7 +290,7 @@ jobs: - name: Cache docker images id: docker-image-cache - uses: actions/cache@v5 + uses: actions/cache@v6 with: path: /tmp/docker-images key: docker-images-v1-${{ hashFiles('.github/workflows/ci.yml') }} diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 00f814030..24cd0fbc6 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -89,7 +89,7 @@ jobs: run: uv export --frozen --no-emit-project --no-hashes --format requirements.txt --output-file build-constraints.txt - name: Cache pip downloads - uses: actions/cache@v5 + uses: actions/cache@v6 with: path: | ~/.cache/pip @@ -103,7 +103,7 @@ jobs: # is pinned. Windows + macOS build without PGO and without a pinned build dir. - name: Cache mypyc build dir if: startsWith(matrix.os, 'ubuntu') - uses: actions/cache@v5 + uses: actions/cache@v6 with: path: /tmp/sqlspec-mypyc-build key: mypyc-${{ matrix.os }}-py${{ matrix.python-version }}-${{ hashFiles('sqlspec/**/*.py', 'pyproject.toml') }} diff --git a/.github/workflows/test-build.yml b/.github/workflows/test-build.yml index 1956d0f4d..8e299e4bc 100644 --- a/.github/workflows/test-build.yml +++ b/.github/workflows/test-build.yml @@ -250,7 +250,7 @@ jobs: run: uv export --frozen --no-emit-project --no-hashes --format requirements.txt --output-file build-constraints.txt - name: Cache pip downloads - uses: actions/cache@v5 + uses: actions/cache@v6 with: path: | ~/.cache/pip @@ -262,7 +262,7 @@ jobs: - name: Cache mypyc build dir if: matrix.os == 'ubuntu-latest' - uses: actions/cache@v5 + uses: actions/cache@v6 with: path: /tmp/sqlspec-mypyc-build key: mypyc-${{ matrix.os }}-py${{ matrix.python-version }}-${{ hashFiles('sqlspec/**/*.py', 'pyproject.toml') }}