summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin Krahl <robin.krahl@ireas.org>2019-01-23 17:02:24 +0100
committerRobin Krahl <robin.krahl@ireas.org>2019-01-23 17:02:24 +0100
commit846c34226572d53bf93bb4191f4742eb6eaa37b1 (patch)
treeedc8154e3d531f5e5dfbd84329f6a0bdff399940
parenta290dcccc5e52bb853d6bb475bca9376c22f98f3 (diff)
downloadnitrokey-rs-846c34226572d53bf93bb4191f4742eb6eaa37b1.tar.gz
nitrokey-rs-846c34226572d53bf93bb4191f4742eb6eaa37b1.tar.bz2
Add reuse linter to the lint build
The reuse linter verifies that nitrokey-rs complies with the REUSE specification 2.0.
-rw-r--r--.builds/lint.yml7
1 files changed, 7 insertions, 0 deletions
diff --git a/.builds/lint.yml b/.builds/lint.yml
index acada7b..698a529 100644
--- a/.builds/lint.yml
+++ b/.builds/lint.yml
@@ -3,12 +3,19 @@
image: archlinux
packages:
- rust
+ - python
+ - python-pip
+ - python-pygit2
sources:
- https://git.sr.ht/~ireas/nitrokey-rs
tasks:
+ - setup: pip install --user fsfe-reuse
- format: |
cd nitrokey-rs
cargo fmt -- --check
+ - reuse: |
+ cd nitrokey-rs
+ ~/.local/bin/reuse lint
triggers:
- action: email
condition: failure