Skip to content

Commit a1e13f1

Browse files
committed
CI: simplify venv creation with astral-sh/setup-uv@v6
1 parent c923fc2 commit a1e13f1

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

.github/workflows/type_check.yml

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -17,15 +17,13 @@ jobs:
1717
steps:
1818
- uses: actions/checkout@v4
1919

20-
- uses: astral-sh/setup-uv@v5
20+
- uses: astral-sh/setup-uv@v6
2121
with:
2222
python-version: "3.11"
23+
activate-environment: true
2324

2425
- name: env setup
25-
run: |
26-
uv venv .venv
27-
source .venv/bin/activate
28-
uv pip install . numpy mypy
26+
run: uv pip install . numpy mypy
2927

3028
- name: run mypy
3129
run: mypy --no-incremental --cache-dir=/dev/null .

0 commit comments

Comments
 (0)