-
Notifications
You must be signed in to change notification settings - Fork 75
49 lines (43 loc) · 1.17 KB
/
reuse-compliance.yml
File metadata and controls
49 lines (43 loc) · 1.17 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
name: REUSE
on:
push:
branches:
- main
pull_request:
branches:
- main
# No permissions are required for this workflow
permissions: {}
jobs:
packages-compliance-check:
name: Packages Compliance
runs-on: ubuntu-24.04
strategy:
matrix:
package:
- "internal/documentation"
- "internal/shrinkwrap-extractor"
- "packages/builder"
- "packages/cli"
- "packages/fs"
- "packages/logger"
- "packages/project"
- "packages/server"
steps:
- uses: actions/checkout@v6
# Check each package if compliance is correctly set up.
# Each one of these packages would be published separately.
- name: Execute REUSE Compliance Check for ${{ matrix.package }}
uses: fsfe/reuse-action@v6
with:
args: --root ${{ matrix.package }} lint
# Do the report for the whole repository, adding badge to the
# README file.
final-report:
name: Compliance Check
needs: [packages-compliance-check]
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v6
- name: REUSE check for full repository
uses: fsfe/reuse-action@v6