Skip to content

Commit d03a53c

Browse files
committed
update workflow
1 parent 207624a commit d03a53c

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

.github/workflows/main.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,11 @@ jobs:
1212
Lint:
1313
runs-on: ubuntu-latest
1414
steps:
15-
- uses: actions/checkout@v1
16-
- uses: actions/setup-python@v2
15+
- uses: actions/checkout@v4
16+
- uses: actions/setup-python@4
1717
with:
18-
python-version: '3.8'
19-
- run: pip3 install pyright==1.1.402 flake8==7.3.0 --user
20-
- run: echo "$HOME/.local/bin" >> $GITHUB_PATH
21-
- run: pyright .
22-
- run: flake8 .
18+
python-version: '3.12'
19+
- name: Install uv
20+
uses: astral-sh/setup-uv@v2
21+
- run: uvx pyright .
22+
- run: uvx ruff check .

0 commit comments

Comments
 (0)