aerc/.builds/alpine-edge.yml
Moritz Poldrack e9b0186782 mk: add lint target
Run go vet only for now. More linters can be added later. Run linters in
the CI pipeline.

Signed-off-by: Moritz Poldrack <git@moritz.sh>
Acked-by: Robin Jarry <robin@jarry.cc>
2022-06-24 21:08:21 +02:00

33 lines
566 B
YAML

---
image: alpine/edge
packages:
- go
- gnupg
- notmuch-dev
- scdoc
sources:
- "https://git.sr.ht/~rjarry/aerc"
environment:
DESTDIR: ./out
GOFLAGS: "-tags=notmuch"
tasks:
- checkfmt: |
cd aerc
make checkfmt
- lint: |
cd aerc
make lint
- build: |
cd aerc
make
- install: |
cd aerc
make install
make checkinstall
- test: |
cd aerc
go test ./...
- ancient-go-version: |
go install golang.org/dl/go1.13@latest
~/go/bin/go1.13 download
make GO=~/go/bin/go1.13