aboutsummaryrefslogtreecommitdiff
path: root/.builds/lint.yml
blob: 698a5295ef917a1c70bf13e86018f4b3f27ebd2d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# Copyright (C) 2019 Robin Krahl <robin.krahl@ireas.org>
# SPDX-License-Identifier: MIT
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
    to: nitrokey-rs-dev <nitrokey-rs-dev@ireas.org>