From 2d4152d18b0b42c513efea6f2a3c7ff17bffaaf5 Mon Sep 17 00:00:00 2001 From: Dependency bot Date: Sun, 29 Sep 2024 20:48:31 +0000 Subject: [PATCH] chore(deps): update golangci/golangci-lint docker tag to v1.61.0 (#383) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This PR contains the following updates: | Package | Update | Change | |---|---|---| | [golangci/golangci-lint](https://github.com/golangci/golangci-lint) | minor | `v1.60.1` -> `v1.61.0` | --- ### Release Notes
golangci/golangci-lint (golangci/golangci-lint) ### [`v1.61.0`](https://github.com/golangci/golangci-lint/blob/HEAD/CHANGELOG.md#v1610) [Compare Source](https://github.com/golangci/golangci-lint/compare/v1.60.3...v1.61.0) 1. Enhancements - Add `junit-xml-extended` format - Exclude Swagger Codegen files by default 2. Updated linters - `dupword`: from 0.0.14 to 0.1.1 - `fatcontext`: from 0.4.0 to 0.5.2 - `gci`: from 0.13.4 to 0.13.5 (new option `no-lex-order`) - `go-ruleguard`: from 0.4.2 to [`0fe6f58`](https://github.com/golangci/golangci-lint/commit/0fe6f58b47b1) (fix panic with custom linters) - `godot`: from 1.4.16 to 1.4.17 - `gomodguard`: from 1.3.3 to 1.3.5 - `gosec`: disable temporarily `G407` - `gosec`: from [`ab3f6c1`](https://github.com/golangci/golangci-lint/commit/ab3f6c1c83a0) to 2.21.2 (partially fix `G115`) - `intrange`: from 0.1.2 to 0.2.0 - `nolintlint`: remove the empty line in the directive replacement 3. Misc. - Improve runtime version parsing 4. Documentation - Add additional info about `typecheck` ### [`v1.60.3`](https://github.com/golangci/golangci-lint/blob/HEAD/CHANGELOG.md#v1603) [Compare Source](https://github.com/golangci/golangci-lint/compare/v1.60.2...v1.60.3) 1. Updated linters - `gosec`: from [`81cda2f`](https://github.com/golangci/golangci-lint/commit/81cda2f91fbe) to [`ab3f6c1`](https://github.com/golangci/golangci-lint/commit/ab3f6c1c83a0) (fix `G115` false positives) 2. Misc. - Check that the Go version use to build is greater or equals to the Go version of the project ### [`v1.60.2`](https://github.com/golangci/golangci-lint/blob/HEAD/CHANGELOG.md#v1602) [Compare Source](https://github.com/golangci/golangci-lint/compare/v1.60.1...v1.60.2) 1. Updated linters - `gofmt`: update to HEAD (go1.22) - `gofumpt`: from 0.6.0 to 0.7.0 - `gosec`: fix G602 analyzer - `gosec`: from [`5f0084e`](https://github.com/golangci/golangci-lint/commit/5f0084eb01a9) to [`81cda2f`](https://github.com/golangci/golangci-lint/commit/81cda2f91fbe) (adds `G115`, `G405`, `G406`, `G506`, `G507`) - `staticcheck`: from 0.5.0 to 0.5.1 - `staticcheck`: propagate Go version - `wrapcheck`: from 2.8.3 to 2.9.0 - ⚠️ `exportloopref`: deprecation
--- ### Configuration 📅 **Schedule**: Branch creation - "every weekend" (UTC), Automerge - "before 4am" (UTC). 🚦 **Automerge**: Enabled. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, check this box --- This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate). Co-authored-by: woodpecker-bot Reviewed-on: https://codeberg.org/Codeberg/pages-server/pulls/383 Co-authored-by: Dependency bot Co-committed-by: Dependency bot --- .woodpecker/lint.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.woodpecker/lint.yml b/.woodpecker/lint.yml index 1f281a4..6ba262c 100644 --- a/.woodpecker/lint.yml +++ b/.woodpecker/lint.yml @@ -6,7 +6,7 @@ when: steps: lint: depends_on: [] - image: golangci/golangci-lint:v1.60.1 + image: golangci/golangci-lint:v1.61.0 commands: - go version - go install mvdan.cc/gofumpt@latest