File tree Expand file tree Collapse file tree 1 file changed +23
-1
lines changed Expand file tree Collapse file tree 1 file changed +23
-1
lines changed Original file line number Diff line number Diff line change @@ -18,12 +18,34 @@ 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+ strategy :
33+ fail-fast : ${{ github.event_name != 'workflow_dispatch' && !(github.event_name == 'release' && startsWith(github.ref, 'refs/tags/')) }}
34+ matrix :
35+ folder : ${{ fromJson(needs.find-jobs.outputs.folders )}}
36+ steps :
37+ - uses : actions/checkout@v4
38+
39+ - name : Install the latest version of uv
40+ uses : astral-sh/setup-uv@v5
41+ with :
42+ enable-cache : true
43+
44+ - name : Run linting
45+ working-directory : node-hub/${{ matrix.folder }}
46+ run : |
47+ uv tool install ruff
48+ ruff check .
2749
2850 ci :
2951 runs-on : ${{ matrix.platform }}
You can’t perform that action at this time.
0 commit comments