summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.builds/archlinux-use-system-lib.yaml3
-rw-r--r--.builds/archlinux.yml3
-rw-r--r--.builds/lint.yml15
3 files changed, 15 insertions, 6 deletions
diff --git a/.builds/archlinux-use-system-lib.yaml b/.builds/archlinux-use-system-lib.yaml
index 13f7581..785ff81 100644
--- a/.builds/archlinux-use-system-lib.yaml
+++ b/.builds/archlinux-use-system-lib.yaml
@@ -15,9 +15,6 @@ tasks:
- test: |
cd nitrokey-rs
cargo test
- - format: |
- cd nitrokey-rs
- cargo fmt -- --check
triggers:
- action: email
condition: failure
diff --git a/.builds/archlinux.yml b/.builds/archlinux.yml
index 7dab954..6cc8684 100644
--- a/.builds/archlinux.yml
+++ b/.builds/archlinux.yml
@@ -14,9 +14,6 @@ tasks:
- test: |
cd nitrokey-rs
cargo test
- - format: |
- cd nitrokey-rs
- cargo fmt -- --check
triggers:
- action: email
condition: failure
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>