Skip to content

Commit 3db3f5d

Browse files
authored
Update tool dependencies (#26607)
- Updated all tool dependencies to latest versions - Add Makefile to `swagger` files because it specifies `go-swagger` version - Fix lint
1 parent 653e77f commit 3db3f5d

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
lines changed

.github/workflows/files-changed.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,3 +71,4 @@ jobs:
7171
7272
swagger:
7373
- "templates/swagger/v1_json.tmpl"
74+
- "Makefile"

Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,13 +28,13 @@ XGO_VERSION := go-1.21.x
2828
AIR_PACKAGE ?= github.com/cosmtrek/[email protected]
2929
EDITORCONFIG_CHECKER_PACKAGE ?= github.com/editorconfig-checker/editorconfig-checker/cmd/[email protected]
3030
GOFUMPT_PACKAGE ?= mvdan.cc/[email protected]
31-
GOLANGCI_LINT_PACKAGE ?= github.com/golangci/golangci-lint/cmd/golangci-lint@v1.53.3
31+
GOLANGCI_LINT_PACKAGE ?= github.com/golangci/golangci-lint/cmd/golangci-lint@v1.54.1
3232
GXZ_PACKAGE ?= github.com/ulikunitz/xz/cmd/[email protected]
3333
MISSPELL_PACKAGE ?= github.com/client9/misspell/cmd/[email protected]
3434
SWAGGER_PACKAGE ?= github.com/go-swagger/go-swagger/cmd/[email protected]
3535
XGO_PACKAGE ?= src.techknowlogick.com/xgo@latest
3636
GO_LICENSES_PACKAGE ?= github.com/google/[email protected]
37-
GOVULNCHECK_PACKAGE ?= golang.org/x/vuln/cmd/[email protected].0
37+
GOVULNCHECK_PACKAGE ?= golang.org/x/vuln/cmd/[email protected].1
3838
ACTIONLINT_PACKAGE ?= github.com/rhysd/actionlint/cmd/[email protected]
3939

4040
DOCKER_IMAGE ?= gitea/gitea

modules/web/routing/logger_manager.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ const (
3131
type Printer func(trigger Event, record *requestRecord)
3232

3333
type requestRecordsManager struct {
34-
print Printer //nolint:forbidigo
34+
print Printer
3535

3636
lock sync.Mutex
3737

0 commit comments

Comments
 (0)