Skip to content

Commit

Permalink
Bump astral-sh/setup-uv from 4 to 5 (#1596)
Browse files Browse the repository at this point in the history
Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Viicos <[email protected]>
  • Loading branch information
dependabot[bot] and Viicos authored Jan 6, 2025
1 parent 562fad3 commit e7c5dc7
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 41 deletions.
54 changes: 14 additions & 40 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,7 @@ jobs:
- run: rustup component add llvm-tools-preview

- name: install uv
uses: astral-sh/setup-uv@v4
with:
enable-cache: true
uses: astral-sh/setup-uv@v5

- name: install deps
run: uv sync --group testing
Expand Down Expand Up @@ -88,9 +86,9 @@ jobs:
key: test-v3

- name: install uv
uses: astral-sh/setup-uv@v4
uses: astral-sh/setup-uv@v5
with:
enable-cache: true
python-version: ${{ matrix.python-version }}

- name: install deps
run: uv sync --group testing
Expand All @@ -105,9 +103,6 @@ jobs:
env:
HYPOTHESIS_PROFILE: slow

env:
UV_PYTHON: ${{ matrix.python-version }}

test-os:
name: test on ${{ matrix.os }}

Expand All @@ -127,9 +122,7 @@ jobs:
uses: Swatinem/rust-cache@v2

- name: install uv
uses: astral-sh/setup-uv@v4
with:
enable-cache: true
uses: astral-sh/setup-uv@v5

- name: install deps
run: uv sync --group testing
Expand All @@ -152,9 +145,7 @@ jobs:
- uses: actions/checkout@v4

- name: install uv
uses: astral-sh/setup-uv@v4
with:
enable-cache: true
uses: astral-sh/setup-uv@v5

- name: install deps
run: uv sync --group testing
Expand Down Expand Up @@ -197,9 +188,9 @@ jobs:
- uses: actions/checkout@v4

- name: install uv
uses: astral-sh/setup-uv@v4
uses: astral-sh/setup-uv@v5
with:
enable-cache: true
python-version: ${{ matrix.python-version }}

- name: install rust stable
uses: dtolnay/rust-toolchain@stable
Expand All @@ -215,9 +206,6 @@ jobs:
- run: uv pip freeze
- run: uv run pytest

env:
UV_PYTHON: ${{ matrix.python-version }}

test-pydantic-integration:
runs-on: ubuntu-latest
continue-on-error: true
Expand All @@ -239,9 +227,7 @@ jobs:
uses: Swatinem/rust-cache@v2

- name: install uv
uses: astral-sh/setup-uv@v4
with:
enable-cache: true
uses: astral-sh/setup-uv@v5

- name: install deps
run: |
Expand Down Expand Up @@ -283,9 +269,7 @@ jobs:
node-version: '18'

- name: install uv
uses: astral-sh/setup-uv@v4
with:
enable-cache: true
uses: astral-sh/setup-uv@v5

- name: install deps
run: |
Expand Down Expand Up @@ -343,9 +327,7 @@ jobs:
actions-cache-folder: emsdk-cache

- name: install uv
uses: astral-sh/setup-uv@v4
with:
enable-cache: true
uses: astral-sh/setup-uv@v5

- name: install deps
run: uv sync --group wasm
Expand All @@ -370,9 +352,6 @@ jobs:
name: wasm_wheels
path: dist

env:
UV_PYTHON: 3.12

# https://github.com/marketplace/actions/alls-green#why used for branch protection checks
check:
if: always()
Expand Down Expand Up @@ -543,9 +522,9 @@ jobs:
- uses: actions/checkout@v4

- name: install uv
uses: astral-sh/setup-uv@v4
uses: astral-sh/setup-uv@v5
with:
enable-cache: true
python-version: ${{ matrix.interpreter }}

- name: install rust stable
id: rust-toolchain
Expand All @@ -560,7 +539,7 @@ jobs:
id: pgo-wheel
uses: ./.github/actions/build-pgo-wheel
with:
interpreter: ${{ env.UV_PYTHON }}
interpreter: ${{ matrix.interpreter }}
rust-toolchain: ${{ steps.rust-toolchain.outputs.name }}

- run: ${{ matrix.ls || 'ls -lh' }} dist/
Expand All @@ -570,9 +549,6 @@ jobs:
name: pypi_files_${{ matrix.os }}_${{ matrix.interpreter }}
path: dist

env:
UV_PYTHON: ${{ matrix.interpreter }}

inspect-pypi-assets:
needs: [build, build-sdist, build-pgo]
runs-on: ubuntu-latest
Expand Down Expand Up @@ -668,9 +644,7 @@ jobs:
- uses: actions/checkout@v4

- name: install uv
uses: astral-sh/setup-uv@v4
with:
enable-cache: true
uses: astral-sh/setup-uv@v5

- name: get dist artifacts
uses: actions/download-artifact@v4
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/codspeed.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
python-version: ${{ env.UV_PYTHON}}

- name: install uv
uses: astral-sh/setup-uv@v4
uses: astral-sh/setup-uv@v5
with:
enable-cache: true

Expand Down

0 comments on commit e7c5dc7

Please sign in to comment.