Skip to content

Commit

Permalink
CI: Use astral-sh/setup-uv@v2 for uv setup
Browse files Browse the repository at this point in the history
  • Loading branch information
gutzbenj committed Sep 8, 2024
1 parent bc276e5 commit c1c51d9
Show file tree
Hide file tree
Showing 5 changed files with 15 additions and 10 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/coverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,9 @@ jobs:
- name: Acquire sources
uses: actions/checkout@v4

- name: Install uv
run: pipx install uv
- uses: astral-sh/setup-uv@v2
with:
enable-cache: true

- name: Pin python version
run: uv python pin 3.12
Expand Down
5 changes: 3 additions & 2 deletions .github/workflows/docker-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,9 @@ jobs:
- name: Acquire sources
uses: actions/checkout@v4

- name: Install uv
run: pipx install uv
- uses: astral-sh/setup-uv@v2
with:
enable-cache: true

- name: Pin python version
run: uv python pin 3.12
Expand Down
5 changes: 3 additions & 2 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,9 @@ jobs:
- name: Acquire sources
uses: actions/checkout@v4

- name: Install uv
run: pipx install uv
- uses: astral-sh/setup-uv@v2
with:
enable-cache: true

- name: Pin python version
run: uv python pin 3.12
Expand Down
5 changes: 3 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,9 @@ jobs:
- name: Acquire sources
uses: actions/checkout@v4

- name: Install uv
run: pipx install uv
- uses: astral-sh/setup-uv@v2
with:
enable-cache: true

- name: Pin python version
run: uv python pin 3.12
Expand Down
5 changes: 3 additions & 2 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,9 @@ jobs:
- name: Acquire sources
uses: actions/checkout@v4

- name: Install uv
run: pipx install uv
- uses: astral-sh/setup-uv@v2
with:
enable-cache: true

- name: Pin python version
run: uv python pin ${{ matrix.python-version }}
Expand Down

0 comments on commit c1c51d9

Please sign in to comment.