Skip to content

Commit 179b1f4

Browse files
update CI/CD for uv.
1 parent b566211 commit 179b1f4

File tree

2 files changed

+11
-8
lines changed

2 files changed

+11
-8
lines changed

.github/workflows/darglint.yml

Lines changed: 10 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -18,16 +18,19 @@ jobs:
1818
- name: Checkout Repository
1919
uses: actions/checkout@v4
2020

21-
- name: Set up Python
22-
uses: actions/setup-python@v5
21+
- name: Install uv
22+
uses: astral-sh/setup-uv@v4
2323
with:
24-
python-version: '3.12'
24+
enable-cache: true
25+
26+
- name: Set up Python
27+
run: uv python install 3.11
2528

26-
- name: Install darglint
27-
run: pip install darglint
29+
- name: Install dependencies
30+
run: uv sync --frozen --extra dev
2831

2932
- name: List packages
30-
run: pip list
33+
run: uv pip list
3134

3235
- name: Darglint checks
33-
run: darglint -v 2 -z short src/
36+
run: uv run darglint -v 2 -z short src/

.github/workflows/unit_tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ jobs:
3232
run: uv python install 3.11
3333

3434
- name: Install AgentLab
35-
run: uv sync --frozen
35+
run: uv sync --frozen --extra dev
3636

3737
- name: List packages
3838
run: uv pip list

0 commit comments

Comments
 (0)