Switch back to latest version of golangci (#3527)

Reverts: https://github.com/woodpecker-ci/woodpecker/pull/3520

As we have enabled pre-commit updates in renovate now, I've increased
the `autoupdate_schedule` of pre-commit to the max value (there is no
way to disable it).
This commit is contained in:
Robert Kaussow 2024-03-21 11:22:36 +01:00 committed by GitHub
parent 9c684b7a22
commit 5fb732a734
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 2 additions and 2 deletions

View file

@ -53,7 +53,7 @@ ci:
autofix_prs: true
autoupdate_branch: ''
autoupdate_commit_msg: '[pre-commit.ci] pre-commit autoupdate'
autoupdate_schedule: monthly
autoupdate_schedule: quarterly
# NB: hadolint not included in pre-commit.ci
skip: [check-hooks-apply, check-useless-excludes, hadolint, prettier]
submodules: false

View file

@ -127,7 +127,7 @@ check-xgo: ## Check if xgo is installed
install-tools: ## Install development tools
@hash golangci-lint > /dev/null 2>&1; if [ $$? -ne 0 ]; then \
go install github.com/golangci/golangci-lint/cmd/golangci-lint@v1.56.2 ; \
go install github.com/golangci/golangci-lint/cmd/golangci-lint@latest ; \
fi ; \
hash gofumpt > /dev/null 2>&1; if [ $$? -ne 0 ]; then \
go install mvdan.cc/gofumpt@latest; \