Update tool dependencies (#26607)

- Updated all tool dependencies to latest versions
- Add Makefile to `swagger` files because it specifies `go-swagger`
version
- Fix lint
This commit is contained in:
silverwind
2023-08-20 22:59:19 +00:00
committed by GitHub
parent 653e77fd22
commit 3db3f5daae
3 changed files with 4 additions and 3 deletions
+1
View File
@@ -71,3 +71,4 @@ jobs:
swagger:
- "templates/swagger/v1_json.tmpl"
- "Makefile"
+2 -2
View File
@@ -28,13 +28,13 @@ XGO_VERSION := go-1.21.x
AIR_PACKAGE ?= github.com/cosmtrek/[email protected]
EDITORCONFIG_CHECKER_PACKAGE ?= github.com/editorconfig-checker/editorconfig-checker/cmd/[email protected]
GOFUMPT_PACKAGE ?= mvdan.cc/[email protected]
GOLANGCI_LINT_PACKAGE ?= github.com/golangci/golangci-lint/cmd/[email protected]3.3
GOLANGCI_LINT_PACKAGE ?= github.com/golangci/golangci-lint/cmd/[email protected]4.1
GXZ_PACKAGE ?= github.com/ulikunitz/xz/cmd/[email protected]
MISSPELL_PACKAGE ?= github.com/client9/misspell/cmd/[email protected]
SWAGGER_PACKAGE ?= github.com/go-swagger/go-swagger/cmd/[email protected]
XGO_PACKAGE ?= src.techknowlogick.com/xgo@latest
GO_LICENSES_PACKAGE ?= github.com/google/[email protected]
GOVULNCHECK_PACKAGE ?= golang.org/x/vuln/cmd/[email protected].0
GOVULNCHECK_PACKAGE ?= golang.org/x/vuln/cmd/[email protected].1
ACTIONLINT_PACKAGE ?= github.com/rhysd/actionlint/cmd/[email protected]
DOCKER_IMAGE ?= gitea/gitea
+1 -1
View File
@@ -31,7 +31,7 @@ const (
type Printer func(trigger Event, record *requestRecord)
type requestRecordsManager struct {
print Printer //nolint:forbidigo
print Printer
lock sync.Mutex