From f6ab96056d5402af66db1be9a8b7528b8922db4a Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 23 Dec 2024 09:07:06 +0100 Subject: [PATCH] Bump astral-sh/setup-uv from 4 to 5 in the github-actions group (#56) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * Bump astral-sh/setup-uv from 4 to 5 in the github-actions group Bumps the github-actions group with 1 update: [astral-sh/setup-uv](https://github.com/astral-sh/setup-uv). Updates `astral-sh/setup-uv` from 4 to 5 - [Release notes](https://github.com/astral-sh/setup-uv/releases) - [Commits](https://github.com/astral-sh/setup-uv/compare/v4...v5) --- updated-dependencies: - dependency-name: astral-sh/setup-uv dependency-type: direct:production update-type: version-update:semver-major dependency-group: github-actions ... Signed-off-by: dependabot[bot] * 🔧 update `setup-uv` options --------- Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: burgholzer --- .github/workflows/reusable-python-linter.yml | 3 +-- .github/workflows/reusable-python-packaging.yml | 10 +++++----- .github/workflows/reusable-python-tests-individual.yml | 3 +-- .github/workflows/reusable-python-tests.yml | 3 +-- 4 files changed, 8 insertions(+), 11 deletions(-) diff --git a/.github/workflows/reusable-python-linter.yml b/.github/workflows/reusable-python-linter.yml index 59a2d51..20773a2 100644 --- a/.github/workflows/reusable-python-linter.yml +++ b/.github/workflows/reusable-python-linter.yml @@ -39,10 +39,9 @@ jobs: uses: rui314/setup-mold@v1 # set up uv for faster Python package management - name: Install the latest version of uv - uses: astral-sh/setup-uv@v4 + uses: astral-sh/setup-uv@v5 with: version: "latest" - enable-cache: true - name: Run mypy run: uvx --with pre-commit-uv pre-commit run -a mypy # run check-sdist to ensure the package sdist is correct diff --git a/.github/workflows/reusable-python-packaging.yml b/.github/workflows/reusable-python-packaging.yml index 08980ea..16262a9 100644 --- a/.github/workflows/reusable-python-packaging.yml +++ b/.github/workflows/reusable-python-packaging.yml @@ -36,7 +36,7 @@ jobs: fetch-depth: 0 # set up uv for faster Python package management - name: Install the latest version of uv - uses: astral-sh/setup-uv@v4 + uses: astral-sh/setup-uv@v5 with: version: "latest" enable-cache: true @@ -82,10 +82,9 @@ jobs: fetch-depth: 0 # set up uv for faster Python package management - name: Install the latest version of uv - uses: astral-sh/setup-uv@v4 + uses: astral-sh/setup-uv@v5 with: version: "latest" - enable-cache: true # workaround for https://github.com/pypa/setuptools-scm/issues/455 - if: ${{ inputs.no-local-version }} name: Disable local version identifiers for setuptools_scm @@ -154,7 +153,7 @@ jobs: override_cache_key: wheels-${{ matrix.runs-on }} # set up uv for faster Python package management - name: Install the latest version of uv - uses: astral-sh/setup-uv@v4 + uses: astral-sh/setup-uv@v5 with: version: "latest" enable-cache: ${{ matrix.runs-on != 'ubuntu-latest' }} @@ -214,9 +213,10 @@ jobs: echo "CIBW_BEFORE_ALL_LINUX=/opt/python/cp311-cp311/bin/pip install z3-solver==${{ inputs.z3-version }}" >> $GITHUB_ENV # set up uv for faster Python package management - name: Install the latest version of uv - uses: astral-sh/setup-uv@v4 + uses: astral-sh/setup-uv@v5 with: version: "latest" + enable-cache: false # workaround for https://github.com/pypa/setuptools-scm/issues/455 - if: ${{ inputs.no-local-version }} name: Disable local version identifiers for setuptools_scm diff --git a/.github/workflows/reusable-python-tests-individual.yml b/.github/workflows/reusable-python-tests-individual.yml index 08fd168..ebc14a5 100644 --- a/.github/workflows/reusable-python-tests-individual.yml +++ b/.github/workflows/reusable-python-tests-individual.yml @@ -56,10 +56,9 @@ jobs: uses: rui314/setup-mold@v1 # set up uv for faster Python package management - name: Install the latest version of uv - uses: astral-sh/setup-uv@v4 + uses: astral-sh/setup-uv@v5 with: version: "latest" - enable-cache: true # run the nox session (assumes a corresponding nox session exists) with coverage - name: Test on 🐍 ${{ inputs.python-version }} run: uvx nox -s ${{ inputs.session }}-${{ inputs.python-version }} --verbose -- --cov --cov-report=xml:coverage-${{ inputs.session }}-${{ inputs.python-version }}-${{ inputs.runs-on }}.xml diff --git a/.github/workflows/reusable-python-tests.yml b/.github/workflows/reusable-python-tests.yml index 0c55055..ea49831 100644 --- a/.github/workflows/reusable-python-tests.yml +++ b/.github/workflows/reusable-python-tests.yml @@ -48,10 +48,9 @@ jobs: uses: rui314/setup-mold@v1 # set up uv for faster Python package management - name: Install the latest version of uv - uses: astral-sh/setup-uv@v4 + uses: astral-sh/setup-uv@v5 with: version: "latest" - enable-cache: true # set up nox for convenient testing - uses: wntrblm/nox@2024.10.09 # run the nox minimums session (assumes a nox session named "minimums" exists) with coverage