From 0c3eaa9ba27542c515012d87272e9583a4badb0a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Helleu?= Date: Sat, 5 Apr 2025 17:01:43 +0200 Subject: [PATCH] ci: add separate GitHub actions workflow for the REUSE compliance check --- .github/workflows/ci.yml | 5 +---- .github/workflows/reuse.yml | 22 ++++++++++++++++++++++ 2 files changed, 23 insertions(+), 4 deletions(-) create mode 100644 .github/workflows/reuse.yml diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index fb5659894..f5afff8f5 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -154,10 +154,7 @@ jobs: sudo apt-get --yes --no-install-recommends install ${{ env.WEECHAT_DEPS_UBUNTU }} # uninstall php imagick as is causes a crash when loading php plugin (see #2009) sudo apt-get --yes purge php8.3-imagick - pipx install msgcheck reuse schemathesis - - - name: Check REUSE compliancy - run: reuse lint + pipx install msgcheck schemathesis - name: Check gettext files run: msgcheck po/*.po diff --git a/.github/workflows/reuse.yml b/.github/workflows/reuse.yml new file mode 100644 index 000000000..98fb64812 --- /dev/null +++ b/.github/workflows/reuse.yml @@ -0,0 +1,22 @@ +# SPDX-FileCopyrightText: 2025 Sébastien Helleu +# +# SPDX-License-Identifier: GPL-3.0-or-later + +name: REUSE Compliance Check + +on: + - push + - pull_request + +jobs: + + test: + + runs-on: ubuntu-24.04 + + steps: + + - uses: actions/checkout@v4 + + - name: REUSE Compliance Check + uses: fsfe/reuse-action@v4