Skip to content

Commit dc1e389

Browse files
committed
Enable CI linter for node-hub python projects
1 parent 491c866 commit dc1e389

File tree

1 file changed

+19
-1
lines changed

1 file changed

+19
-1
lines changed

.github/workflows/node-hub-ci-cd.yml

Lines changed: 19 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,12 +18,30 @@ jobs:
1818
outputs:
1919
folders: ${{ steps.jobs.outputs.folders }}
2020
steps:
21-
- uses: actions/checkout@v1
21+
- uses: actions/checkout@v4
2222

2323
- id: jobs
2424
uses: kmanimaran/list-folder-action@v4
2525
with:
2626
path: ./node-hub
27+
28+
lint:
29+
runs-on: ubuntu-24.04
30+
needs: [find-jobs]
31+
name: Lint
32+
steps:
33+
- uses: actions/checkout@v4
34+
35+
- name: Install the latest version of uv
36+
uses: astral-sh/setup-uv@v5
37+
with:
38+
enable-cache: true
39+
40+
- name: Run linting
41+
working-directory: node-hub/${{ matrix.folder }}
42+
run: |
43+
uv tool install ruff
44+
ruff check .
2745
2846
ci:
2947
runs-on: ${{ matrix.platform }}

0 commit comments

Comments
 (0)