Bump Go to v1.23.7 (#30455)
* Update Go version to v1.23.7 * Bump golangci-lint to a version supporting Go 1.23 * Fix golangci-lint warnings Several rules from gosimple, revive and staticcheck linters were failing: - Redefinition of built-in identifiers (max, min, new, recover...) - Use of printf-like functions with simple strings - Check for nil slices, when len already takes it into account * Trigger Build * Trigger Build --------- Co-authored-by: Mattermost Build <build@mattermost.com>
Этот коммит содержится в:
коммит произвёл
GitHub
родитель
33d207d81a
Коммит
350714f390
@@ -292,7 +292,7 @@ golang-versions: ## Install Golang versions used for compatibility testing (e.g.
|
||||
export GO_COMPATIBILITY_TEST_VERSIONS="${GO_COMPATIBILITY_TEST_VERSIONS}"
|
||||
|
||||
golangci-lint: ## Run golangci-lint on codebase
|
||||
$(GO) install github.com/golangci/golangci-lint/cmd/golangci-lint@v1.57.1
|
||||
$(GO) install github.com/golangci/golangci-lint/cmd/golangci-lint@v1.64.7
|
||||
|
||||
@echo Running golangci-lint
|
||||
$(GOBIN)/golangci-lint run ./...
|
||||
|
||||
Ссылка в новой задаче
Block a user