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 .)