Skip to content

Commit

Permalink
Integrate 'reuse lint' into Makefile and CI
Browse files Browse the repository at this point in the history
  • Loading branch information
neuschaefer committed Jan 7, 2024
1 parent 3194edb commit 1d99bf3
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 0 deletions.
14 changes: 14 additions & 0 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
# SPDX-License-Identifier: MIT
# Copyright (C) J. Neuschäfer

name: build
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
3 changes: 3 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,7 @@ src:
clean:
+$(MAKE) -C src clean

lint:
reuse lint

.PHONY: src clean

0 comments on commit 1d99bf3

Please sign in to comment.