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