From 5109867f38c63f989d58714d8ab926da3c61800b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thorben=20G=C3=BCnther?= Date: Thu, 13 Oct 2022 14:16:41 +0200 Subject: [PATCH] Add build manifest --- .build.yml | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 .build.yml diff --git a/.build.yml b/.build.yml new file mode 100644 index 0000000..9296386 --- /dev/null +++ b/.build.yml @@ -0,0 +1,22 @@ +image: archlinux +packages: + - go + - revive + - staticcheck +sources: + - https://git.xenrox.net/~xenrox/ntfy-alertmanager +tasks: + - test: | + cd ntfy-alertmanager + go test -v ./... + - lint: | + cd ntfy-alertmanager + go vet ./... + staticcheck ./... + revive ./... + - build: | + cd ntfy-alertmanager + go build + - gofmt: | + cd ntfy-alertmanager + test -z $(gofmt -l .)