[INT-128] Add reuse lint check to CI

Problem: we want to make sure the repo is always REUSE-compliant.

Solution: add a check to CI that runs `reuse lint`.
This commit is contained in:
Ivan Gromakovskii 2019-12-18 17:45:07 +03:00
parent 3b1c666e1e
commit 8bb379c583
No known key found for this signature in database
GPG Key ID: 2B4D5D5D300D1A13

View File

@ -2,8 +2,13 @@
#
# SPDX-License-Identifier: MPL-2.0
env:
NIX_PATH: nixpkgs=https://github.com/nixos/nixpkgs/archive/b640dbd00877f51616750e347a32fbcb49d2968c.tar.gz
steps:
- command: nix-build crossref-verifier.nix
label: build everything
- command: nix run -f. -c crossref-verify
label: crossref-verify itself (import as if done externally)
- command: nix run nixpkgs.reuse -c reuse lint
label: reuse lint