Skip to content

Commit

Permalink
switch setup-python and set-uv
Browse files Browse the repository at this point in the history
  • Loading branch information
jorenham committed Sep 21, 2024
1 parent 27e4e91 commit b0111e8
Showing 1 changed file with 13 additions and 13 deletions.
26 changes: 13 additions & 13 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,17 +23,17 @@ jobs:
- name: checkout
uses: actions/checkout@v4

- name: Install uv
uses: astral-sh/setup-uv@v3
with:
version: ${{ env.VERSION_UV }}
enable-cache: true

- name: set up python 3.9
uses: actions/setup-python@v5
with:
python-version: "3.9"

- name: set up uv
uses: astral-sh/setup-uv@v3
with:
version: ${{ env.VERSION_UV }}
enable-cache: true

- name: uv sync
run: uv sync --frozen

Expand Down Expand Up @@ -77,19 +77,19 @@ jobs:
- name: checkout
uses: actions/checkout@v4

- name: setup uv
uses: astral-sh/setup-uv@v3
with:
version: ${{ env.VERSION_UV }}
enable-cache: true

- name: set up python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}

- name: set up uv
uses: astral-sh/setup-uv@v3
with:
version: ${{ env.VERSION_UV }}
enable-cache: true

- name: uv sync
run: uv sync --frozen
run: uv sync

- name: pytest
run: uv run pytest

0 comments on commit b0111e8

Please sign in to comment.