diff options
Diffstat (limited to '.build.yml')
-rw-r--r-- | .build.yml | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -1,6 +1,7 @@ image: fedora/latest packages: - go + - tar sources: - https://git.sr.ht/~yotam/go-gemini-server - https://git.sr.ht/~sircmpwn/annotatego @@ -8,8 +9,12 @@ secrets: - f43da1db-697d-4101-8607-e96f574b035a tasks: - lint: | + curl -sfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh| sh -s -- -b $(go env GOPATH)/bin v1.21.0 + go get honnef.co/go/tools/cmd/staticcheck cd go-gemini-server go vet + ~/go/bin/staticcheck + ~/go/bin/golangci-lint run - test: | cd go-gemini-server go test |