Skip to content

Commit 797f90b

Browse files
committed
🔧 update CI workflow to use Uv Project and update lockfiles
1 parent d2bfedb commit 797f90b

File tree

1 file changed

+23
-7
lines changed

1 file changed

+23
-7
lines changed

.github/workflows/ci.yml

Lines changed: 23 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -18,11 +18,19 @@ jobs:
1818
- name: set up python
1919
uses: actions/setup-python@v5
2020
with:
21-
python-version: '3.10'
21+
python-version: '3.11'
22+
23+
- name: setup UV
24+
uses: yezz123/setup-uv@v4
25+
with:
26+
uv-venv: ".venv"
2227

2328
- name: install
2429
run: |
25-
pip install -r requirements/pyproject.txt && pip install -r requirements/linting.txt
30+
uv sync
31+
32+
- name: Freeze Dependencies
33+
run: uv tree
2634

2735
- uses: pre-commit/[email protected]
2836
with:
@@ -46,12 +54,20 @@ jobs:
4654
with:
4755
python-version: ${{ matrix.python-version }}
4856

49-
- run: |
50-
pip install -r requirements/pyproject.txt && pip install -r requirements/testing.txt
57+
- name: setup UV
58+
uses: yezz123/setup-uv@v4
59+
with:
60+
uv-venv: ".venv"
61+
62+
- name: install
63+
run: |
64+
uv sync
5165
52-
- run: pip freeze
66+
- name: Freeze Dependencies
67+
run: uv tree
5368

54-
- run: make test
69+
- name: Run tests
70+
run: make test
5571
env:
5672
CONTEXT: ${{ runner.os }}-py${{ matrix.python-version }}-with-deps
5773

@@ -85,7 +101,7 @@ jobs:
85101
- name: set up python
86102
uses: actions/setup-python@v5
87103
with:
88-
python-version: '3.10'
104+
python-version: '3.11'
89105

90106
- name: install
91107
run: pip install -U build

0 commit comments

Comments
 (0)