mirror of
https://github.com/FiloSottile/mkcert.git
synced 2025-10-14 00:41:40 +08:00
Add staticcheck to CI (#171)
This commit is contained in:
@@ -1,10 +1,11 @@
|
||||
language: go
|
||||
sudo: false
|
||||
go: stable
|
||||
install: "# skip"
|
||||
install: (cd && go get honnef.co/go/tools/cmd/staticcheck)
|
||||
|
||||
script:
|
||||
- go vet
|
||||
- staticcheck ./...
|
||||
- CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -o "mkcert-$(git describe --tags)-linux-amd64"
|
||||
- CGO_ENABLED=0 GOOS=linux GOARCH=arm GOARM=6 go build -o "mkcert-$(git describe --tags)-linux-arm"
|
||||
- CGO_ENABLED=0 GOOS=darwin GOARCH=amd64 go build -o "mkcert-$(git describe --tags)-darwin-amd64"
|
||||
|
Reference in New Issue
Block a user