aboutsummaryrefslogtreecommitdiff
path: root/.builds/lint.yml
diff options
context:
space:
mode:
Diffstat (limited to '.builds/lint.yml')
-rw-r--r--.builds/lint.yml15
1 files changed, 15 insertions, 0 deletions
diff --git a/.builds/lint.yml b/.builds/lint.yml
new file mode 100644
index 0000000..acada7b
--- /dev/null
+++ b/.builds/lint.yml
@@ -0,0 +1,15 @@
+# Copyright (C) 2019 Robin Krahl <robin.krahl@ireas.org>
+# SPDX-License-Identifier: MIT
+image: archlinux
+packages:
+ - rust
+sources:
+ - https://git.sr.ht/~ireas/nitrokey-rs
+tasks:
+ - format: |
+ cd nitrokey-rs
+ cargo fmt -- --check
+triggers:
+ - action: email
+ condition: failure
+ to: nitrokey-rs-dev <nitrokey-rs-dev@ireas.org>