aboutsummaryrefslogtreecommitdiff
path: root/.build.yml
diff options
context:
space:
mode:
Diffstat (limited to '.build.yml')
-rw-r--r--.build.yml5
1 files changed, 5 insertions, 0 deletions
diff --git a/.build.yml b/.build.yml
index 761b965..aee27f3 100644
--- a/.build.yml
+++ b/.build.yml
@@ -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