Remove custom gitea-vet from testing workflow

Signed-off-by: Martijn van der Kleijn <martijn.niji@gmail.com>
This commit is contained in:
Martijn van der Kleijn 2024-06-07 23:51:51 +02:00
parent 1caf6712f4
commit 168c988b82

View file

@ -10,7 +10,6 @@ PACKAGE := codeberg.org/mvdkleijn/forgejo-sdk
GOFUMPT_PACKAGE ?= mvdan.cc/gofumpt@v0.4.0
GOLANGCI_LINT_PACKAGE ?= github.com/golangci/golangci-lint/cmd/golangci-lint@v1.51.0
GITEA_VET_PACKAGE ?= code.gitea.io/gitea-vet@v0.2.1
FORGEJO_VERSION := 1.21.6-0
FORGEJO_DL := https://codeberg.org/forgejo/forgejo/releases/download/v$(FORGEJO_VERSION)/forgejo-$(FORGEJO_VERSION)-
@ -66,10 +65,6 @@ fmt:
vet:
# Default vet
cd forgejo && $(GO) vet $(PACKAGE)
# Custom vet
cd forgejo && $(GO) get $(GITEA_VET_PACKAGE)
cd forgejo && $(GO) build code.gitea.io/gitea-vet
cd forgejo && $(GO) vet -vettool=gitea-vet $(PACKAGE)
.PHONY: ci-lint
ci-lint: