blob: 6c5a2f45b7aebcb765bd8d92b385b2cf13bd7c4f (
about) (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
|
image: alpine/edge
packages:
- go
- git
- golangci-lint
tasks:
- apk: |
sudo apk update
sudo apk upgrade
- build: |
cd furgit
go build ./...
- test: |
cd furgit
go test -v -count 1 $(go list ./... | grep -v '/internal/compress')
- test-race: |
cd furgit
go test -race -v -count 1 $(go list ./... | grep -v '/internal/compress')
- test-purego: |
cd furgit
go test -v -tags purego -count 1 $(go list ./... | grep -v '/internal/compress')
- lint: |
cd furgit
golangci-lint run ./...
- vet: |
cd furgit
go vet ./...
- fmt-check: |
cd furgit
test -z "$(gofmt -l .)"
- fix-check: |
cd furgit
test -z "$(go fix -diff ./...)"
|