From: David Runge Date: Wed, 18 Sep 2024 12:17:29 +0000 (+0200) Subject: Run reuse in CI to detect license issues right away X-Git-Tag: v25~282^2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=refs%2Fpull%2F3044%2Fhead;p=thirdparty%2Fmkosi.git Run reuse in CI to detect license issues right away Signed-off-by: David Runge --- diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 8e7daef08..fa25f5705 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -24,7 +24,7 @@ jobs: sudo apt-get update sudo apt-get install pandoc python3-pytest python3 -m pip install --break-system-packages --upgrade setuptools wheel pip - python3 -m pip install --break-system-packages codespell mypy ruff + python3 -m pip install --break-system-packages codespell mypy reuse ruff npm install -g pyright - name: Run ruff @@ -40,6 +40,11 @@ jobs: codespell --version codespell + - name: License Checking (reuse) + run: | + reuse --version + reuse lint + - name: Type Checking (mypy) run: | python3 -m mypy --version