Skip to content

Commit e9e39e5

Browse files
committed
Add separate GitHub actions workflow for the REUSE compliance check
1 parent b51fbf4 commit e9e39e5

File tree

2 files changed

+23
-6
lines changed

2 files changed

+23
-6
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -37,12 +37,7 @@ jobs:
3737
cache-dependency-path: build-requirements.txt
3838

3939
- name: Install dependencies
40-
run: |
41-
pip install -r build-requirements.txt
42-
pip install reuse
43-
44-
- name: Check REUSE compliancy
45-
run: reuse lint
40+
run: pip install -r build-requirements.txt
4641

4742
- name: Lint with flake8
4843
run: make flake8

.github/workflows/reuse.yml

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
# SPDX-FileCopyrightText: 2025 Sébastien Helleu <flashcode@flashtux.org>
2+
#
3+
# SPDX-License-Identifier: GPL-3.0-or-later
4+
5+
name: REUSE Compliance Check
6+
7+
on:
8+
- push
9+
- pull_request
10+
11+
jobs:
12+
13+
test:
14+
15+
runs-on: ubuntu-24.04
16+
17+
steps:
18+
19+
- uses: actions/checkout@v4
20+
21+
- name: REUSE Compliance Check
22+
uses: fsfe/reuse-action@v4

0 commit comments

Comments
 (0)