1
0
mirror of https://git.sr.ht/~yotam/shavit synced 2024-11-26 14:34:37 +01:00

Change name in build.yml to shavit

This commit is contained in:
Yotam Nachum 2019-12-07 17:36:32 +02:00
parent 3406499b0e
commit 73501365f5

@ -3,7 +3,7 @@ packages:
- go - go
- tar - tar
sources: sources:
- https://git.sr.ht/~yotam/go-gemini-server - https://git.sr.ht/~yotam/shavit
- https://git.sr.ht/~sircmpwn/annotatego - https://git.sr.ht/~sircmpwn/annotatego
secrets: secrets:
- f43da1db-697d-4101-8607-e96f574b035a - f43da1db-697d-4101-8607-e96f574b035a
@ -11,21 +11,21 @@ tasks:
- lint: | - lint: |
curl -sfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh| sh -s -- -b $(go env GOPATH)/bin v1.21.0 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 go get honnef.co/go/tools/cmd/staticcheck
cd go-gemini-server cd shavit
go vet go vet
~/go/bin/staticcheck ~/go/bin/staticcheck
~/go/bin/golangci-lint run ~/go/bin/golangci-lint run
- test: | - test: |
cd go-gemini-server cd shavit
go test go test
- build: | - build: |
cd go-gemini-server cd shavit
go build go build
- annotatego: | - annotatego: |
cd annotatego cd annotatego
go build go build
sudo cp annotatego /usr/bin/ sudo cp annotatego /usr/bin/
- annotate: | - annotate: |
cd go-gemini-server cd shavit
annotatego -v git.sr.ht/~yotam/go-gemini-server... >annotations.json annotatego -v git.sr.ht/~yotam/shavit... >annotations.json
~/upload-annotations annotations.json yotam go-gemini-server ~/upload-annotations annotations.json yotam shavit