Skip to content

Commit db61b90

Browse files
committed
chore: change CI toolchain to uv
1 parent 77dde23 commit db61b90

File tree

1 file changed

+12
-7
lines changed

1 file changed

+12
-7
lines changed

.github/workflows/checks.yml

Lines changed: 12 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -46,15 +46,20 @@ jobs:
4646
uses: actions/checkout@v4
4747
with:
4848
submodules: "true"
49-
- name: Setup PDM
50-
uses: pdm-project/setup-pdm@v4
51-
# You are now able to use PDM in your workflow
52-
- name: Install dependencies
53-
run: pdm install
49+
- name: Install uv
50+
uses: astral-sh/setup-uv@v5
51+
with:
52+
enable-cache: true
53+
cache-dependency-glob: "uv.lock"
54+
55+
- name: Install the project
56+
run: uv sync --all-extras --dev
57+
5458
- name: Type check
55-
run: pdm run basedpyright
59+
run: uv run basedpyright .
60+
5661
- name: Unit tests
57-
run: pdm run pytest ./tests
62+
run: uv run pytest tests
5863

5964
ruff:
6065
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)