From 8bb379c58328e06e4152a482f9f731a27bb0a95d Mon Sep 17 00:00:00 2001 From: Ivan Gromakovskii Date: Wed, 18 Dec 2019 17:45:07 +0300 Subject: [PATCH] [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`. --- .buildkite/pipeline.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.buildkite/pipeline.yml b/.buildkite/pipeline.yml index 1959b98..d7114f8 100644 --- a/.buildkite/pipeline.yml +++ b/.buildkite/pipeline.yml @@ -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