Skip to content

Commit 6190e53

Browse files
committed
github-actions: use ASDF and static-checks.sh.
Instead of manually installing uv, use ASDF. Test the static checkers with the new script ./static-checks.sh. Change-Id: If27b3e7f866c5b1593406c0a0eed316514ad7fd6 Priv-Id: 4034cfcc53238c0fb47cf88ca7a212092902d977
1 parent 85f90cb commit 6190e53

1 file changed

Lines changed: 6 additions & 10 deletions

File tree

.github/workflows/tests.yml

Lines changed: 6 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -42,11 +42,10 @@ jobs:
4242
sudo python3 -m pip install --upgrade pip && \
4343
sudo python3 -m pip install virtualenv
4444
45-
- name: Install uv
46-
run: curl -LsSf https://astral.sh/uv/install.sh | sh
47-
48-
- name: Update PATH for uv
49-
run: echo "$HOME/.local/bin" >> $GITHUB_PATH
45+
- name: Install asdf
46+
uses: asdf-vm/actions/setup@v4
47+
with:
48+
asdf_branch: v0.15.0 # Keep this version for `asdf plugin-add`
5049

5150
- name: Install waf
5251
run: |
@@ -81,8 +80,5 @@ jobs:
8180
env:
8281
ASAN_OPTIONS: 'handle_segv=0:detect_leaks=1'
8382

84-
- name: Check with ruff
85-
run: waf ruff
86-
87-
- name: Check with mypy
88-
run: waf mypy
83+
- name: Static checks
84+
run: ./static-checks.sh

0 commit comments

Comments
 (0)