summaryrefslogtreecommitdiff
path: root/.builds/lint.yml
blob: a3aa5ed0845c101d69b51263c7ea4857c130f173 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
# 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