Skip to content

Commit a715559

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

File tree

2 files changed

+23
-4
lines changed

2 files changed

+23
-4
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -38,10 +38,7 @@ jobs:
3838
- name: Install dependencies
3939
run: |
4040
python -m pip install --upgrade pip
41-
pip install bandit coverage flake8 mock mypy pylint pytest pytest-cov reuse types-mock
42-
43-
- name: Check REUSE compliancy
44-
run: reuse lint
41+
pip install bandit coverage flake8 mock mypy pylint pytest pytest-cov types-mock
4542
4643
- name: Lint with flake8
4744
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 <[email protected]>
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)