Add build manifest
This commit is contained in:
parent
072251d8ad
commit
5109867f38
1 changed files with 22 additions and 0 deletions
22
.build.yml
Normal file
22
.build.yml
Normal 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 .)
|
Loading…
Reference in a new issue