aboutsummaryrefslogtreecommitdiff
path: root/.build.yml
diff options
context:
space:
mode:
Diffstat (limited to '.build.yml')
-rw-r--r--.build.yml31
1 files changed, 0 insertions, 31 deletions
diff --git a/.build.yml b/.build.yml
deleted file mode 100644
index 79ccb7b..0000000
--- a/.build.yml
+++ /dev/null
@@ -1,31 +0,0 @@
-image: fedora/latest
-packages:
- - go
- - tar
-sources:
- - https://git.sr.ht/~yotam/shavit
- - https://git.sr.ht/~sircmpwn/annotatego
-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 shavit
- go vet
- ~/go/bin/staticcheck
- ~/go/bin/golangci-lint run
-- test: |
- cd shavit
- go test
-- build: |
- cd shavit
- go build
-- annotatego: |
- cd annotatego
- go build
- sudo cp annotatego /usr/bin/
-- annotate: |
- cd shavit
- annotatego -v git.sr.ht/~yotam/shavit... >annotations.json
- ~/upload-annotations annotations.json yotam shavit