aboutsummaryrefslogtreecommitdiff
path: root/src/x509-info/.drone.yml
diff options
context:
space:
mode:
Diffstat (limited to 'src/x509-info/.drone.yml')
-rw-r--r--src/x509-info/.drone.yml35
1 files changed, 35 insertions, 0 deletions
diff --git a/src/x509-info/.drone.yml b/src/x509-info/.drone.yml
new file mode 100644
index 0000000..0816988
--- /dev/null
+++ b/src/x509-info/.drone.yml
@@ -0,0 +1,35 @@
+kind: pipeline
+type: docker
+name: checks
+
+trigger:
+ event:
+ - push
+ - pull_request
+ - cron
+
+steps:
+ - name: Run checks
+ image: nixpkgs/nix-flakes:nixos-22.05
+ commands:
+ - nix develop --command cargo fmt --check
+ - nix develop --command cargo-deny check
+ - nix develop --command cargo clippy -- -D warnings
+---
+kind: pipeline
+type: docker
+name: build
+
+trigger:
+ event:
+ - push
+ - pull_request
+ - cron
+
+steps:
+ - name: Run tests and build
+ image: nixpkgs/nix-flakes:nixos-22.05
+ commands:
+ - nix develop --command cargo test
+ - nix build .
+ - nix run . -- fcuny.net