File tree Expand file tree Collapse file tree 2 files changed +17
-11
lines changed
Expand file tree Collapse file tree 2 files changed +17
-11
lines changed Original file line number Diff line number Diff line change 1212permissions : {}
1313
1414jobs :
15- compliance-check :
16- name : Compliance Check
15+ root-compliance-check :
16+ name : Root Workspace Compliance Check
17+ runs-on : ubuntu-24.04
18+ steps :
19+ - uses : actions/checkout@v5
20+
21+ - name : Setup Node.js
22+ uses : actions/setup-node@v6
23+ with :
24+ node-version : 22.20.0
25+
26+ - name : Execute REUSE Compliance Check for root workspace only
27+ run : ./scripts/check-root-reuse-compliance.sh
28+
29+ packages-compliance-check :
30+ name : Packages Compliance Check
1731 runs-on : ubuntu-24.04
1832 strategy :
1933 matrix :
2842 steps :
2943 - uses : actions/checkout@v5
3044
31- - name : Setup Node.js
32- uses : actions/setup-node@v6
33- with :
34- node-version : 22.20.0
35-
36- - name : Execute REUSE Compliance Check for root package only
37- run : ./scripts/check-root-reuse-compliance.sh
38-
3945 - name : Execute REUSE Compliance Check for ${{ matrix.package }}
4046 uses : fsfe/reuse-action@v6
4147 with :
Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ FAILED_FILES=0
1616
1717# Function to check a single file
1818check_file () {
19- if npx reuse lint-file " $1 " > /dev/null 2>&1 ; then
19+ if pipx run reuse lint-file " $1 " 2>&1 ; then
2020 return 0
2121 else
2222 FAILED_FILES=$(( FAILED_FILES + 1 ))
You can’t perform that action at this time.
0 commit comments