Add build manifest

This commit is contained in:
Thorben Günther 2022-10-13 14:16:41 +02:00
parent 072251d8ad
commit 5109867f38
No known key found for this signature in database
GPG key ID: 415CD778D8C5AFED

22
.build.yml Normal file
View file

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