Skip to content

Commit 3afd908

Browse files
committed
NO-ISSUE: fix github workflow
Signed-off-by: Eran Ifrach <[email protected]>
1 parent 39aec7c commit 3afd908

File tree

1 file changed

+11
-4
lines changed

1 file changed

+11
-4
lines changed

.github/workflows/python-lint.yaml

Lines changed: 11 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,17 +4,24 @@ on:
44
branches:
55
- "*"
66
jobs:
7-
build:
7+
lint:
88
name: python Lint
99
runs-on: ubuntu-latest
1010
steps:
11+
- name: Set up Python 3.11
12+
uses: actions/setup-python@v5
13+
with:
14+
python-version: "3.11"
15+
1116
- name: Checkout code
1217
uses: actions/checkout@v4
1318

1419
- name: Install uv
1520
uses: astral-sh/setup-uv@v6
1621

22+
- name: UV sync
23+
run: uv sync --dev
24+
1725
- name: Run flake8
18-
run: uv sync && uv run flake8 src/ --max-line-length=120 --ignore=E501,W503
19-
with:
20-
python-version: "3.11"
26+
run: uv run flake8 src/ --max-line-length=120 --ignore=E501,W503
27+

0 commit comments

Comments
 (0)