From 46cc99716c5c0429aaec6143993b194a287afddd Mon Sep 17 00:00:00 2001 From: David Runge Date: Wed, 18 Sep 2024 14:17:29 +0200 Subject: [PATCH] Run reuse in CI to detect license issues right away Signed-off-by: David Runge --- .github/workflows/ci.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) 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 -- 2.47.2