File tree Expand file tree Collapse file tree 4 files changed +4
-18
lines changed Expand file tree Collapse file tree 4 files changed +4
-18
lines changed Original file line number Diff line number Diff line change @@ -51,7 +51,6 @@ modifies/internal:
5151 - " .github/**"
5252 - " .gitea/**"
5353 - " .devcontainer/**"
54- - " build.go"
5554 - " build/**"
5655 - " contrib/**"
5756
Original file line number Diff line number Diff line change @@ -386,8 +386,7 @@ lint-go-windows:
386386.PHONY : lint-go-gitea-vet
387387lint-go-gitea-vet : # # lint go files with gitea-vet
388388 @echo " Running gitea-vet..."
389- @GOOS= GOARCH= $(GO ) build code.gitea.io/gitea-vet
390- @$(GO ) vet -vettool=gitea-vet ./...
389+ @$(GO ) vet -vettool=" $( shell GOOS= GOARCH= go tool -n gitea-vet) " ./...
391390
392391.PHONY : lint-go-gopls
393392lint-go-gopls : # # lint go files with gopls
Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -9,7 +9,6 @@ godebug x509negativeserial=1
99
1010require (
1111 code.gitea.io/actions-proto-go v0.4.1
12- code.gitea.io/gitea-vet v0.2.3
1312 code.gitea.io/sdk/gitea v0.22.0
1413 codeberg.org/gusted/mcaptcha v0.0.0-20220723083913-4f3072e1d570
1514 connectrpc.com/connect v1.18.1
@@ -135,6 +134,7 @@ require (
135134
136135require (
137136 cloud.google.com/go/compute/metadata v0.8.0 // indirect
137+ code.gitea.io/gitea-vet v0.2.3 // indirect
138138 dario.cat/mergo v1.0.2 // indirect
139139 filippo.io/edwards25519 v1.1.0 // indirect
140140 git.sr.ht/~mariusor/go-xsd-duration v0.0.0-20220703122237-02e73435a078 // indirect
@@ -307,3 +307,5 @@ exclude github.com/gofrs/uuid v4.0.0+incompatible
307307exclude github.com/goccy/go-json v0.4.11
308308
309309exclude github.com/satori/go.uuid v1.2.0
310+
311+ tool code.gitea.io/gitea-vet
You can’t perform that action at this time.
0 commit comments