From 2b707f26e5dadb5802a20cf207a408d069346e39 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=2E=20Neusch=C3=A4fer?= Date: Sun, 7 Jan 2024 06:30:42 +0100 Subject: [PATCH] Integrate 'reuse lint' into Makefile and CI --- .github/workflows/lint.yml | 14 ++++++++++++++ Makefile | 3 +++ 2 files changed, 17 insertions(+) create mode 100644 .github/workflows/lint.yml diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml new file mode 100644 index 0000000..cd24b40 --- /dev/null +++ b/.github/workflows/lint.yml @@ -0,0 +1,14 @@ +# SPDX-License-Identifier: MIT +# Copyright (C) J. Neuschäfer + +name: lint +on: [push] +jobs: + build: + runs-on: ubuntu-latest + steps: + - run: | + sudo apt-get update + sudo apt-get install -y reuse + - uses: actions/checkout@v3 + - run: make lint diff --git a/Makefile b/Makefile index 1d6fa75..01448cd 100644 --- a/Makefile +++ b/Makefile @@ -9,4 +9,7 @@ src: clean: +$(MAKE) -C src clean +lint: + reuse lint + .PHONY: src clean