Skip to content

Commit

Permalink
deps: update dependency golangci/golangci-lint to v1.55.2 (#599)
Browse files Browse the repository at this point in the history
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
| [golangci/golangci-lint](https://togithub.com/golangci/golangci-lint)
| | minor | `v1.54.2` -> `v1.55.2` |
| golangci/golangci-lint | image | patch | `v1.55.1` -> `v1.55.2` |

---

### Release Notes

<details>
<summary>golangci/golangci-lint (golangci/golangci-lint)</summary>

###
[`v1.55.2`](https://togithub.com/golangci/golangci-lint/blob/HEAD/CHANGELOG.md#v1552)

[Compare
Source](https://togithub.com/golangci/golangci-lint/compare/v1.55.1...v1.55.2)

1.  updated linters
    -   `ireturn`: from 0.2.1 to 0.2.2
    -   `ginkgolinter`: from 0.14.0 to 0.14.1

###
[`v1.55.1`](https://togithub.com/golangci/golangci-lint/blob/HEAD/CHANGELOG.md#v1551)

[Compare
Source](https://togithub.com/golangci/golangci-lint/compare/v1.55.0...v1.55.1)

1.  updated linters
    -   `gosec`: from 2.18.1 to 2.18.2
2.  misc.
    -   `revgrep`: from v0.5.0 to v0.5.2 (support git < 2.41.0)
- output: convert backslashes to forward slashes for GitHub Action
annotations printer

###
[`v1.55.0`](https://togithub.com/golangci/golangci-lint/blob/HEAD/CHANGELOG.md#v1550)

[Compare
Source](https://togithub.com/golangci/golangci-lint/compare/v1.54.2...v1.55.0)

1.  new linters
    -   `gochecksumtype`: https://github.com/alecthomas/go-check-sumtype
    -   `inamedparam`: https://github.com/macabu/inamedparam
    -   `perfsprint`: https://github.com/catenacyber/perfsprint
    -   `protogetter`: https://github.com/ghostiam/protogetter
    -   `sloglint`: https://github.com/go-simpler/sloglint
    -   `testifylint`: https://github.com/Antonboom/testifylint
2.  updated linters
    -   `bidichk`: from 0.2.4 to 0.2.7
    -   `decorder`: from 0.4.0 to 0.4.1
    -   `dupword`: from 0.0.12 to 0.0.13
    -   `errchkjson`: from 0.3.1 to 0.3.6
    -   `gci`: from 0.11.0 to 0.11.2
    -   `ginkgolinter`: from 0.13.5 to 0.14.0
    -   `go-errorlint`: from 1.4.4 to 1.4.5
    -   `gocognit`: from 1.0.7 to 1.1.0
    -   `goconst`: from 1.5.1 to 1.6.0
    -   `godot`: from 1.4.14 to 1.4.15
    -   `gofmt`: update to HEAD
    -   `goimports`: update to HEAD
    -   `gosec`: from 2.17.0 to 2.18.1
    -   `gosmopolitan`: from 1.2.1 to 1.2.2
    -   `govet`: add `appends` analyzer
    -   `ireturn`: from 0.2.0 to 0.2.1
    -   `protogetter`: from 0.2.2 to 0.2.3
- `revgrep`: from
[`745bb2f`](https://togithub.com/golangci/golangci-lint/commit/745bb2f7c2e6)
to v0.5.0
    -   `revive`: from 1.3.2 to 1.3.4
    -   `sqlclosecheck`: from 0.4.0 to 0.5.1
    -   `staticcheck`: from 0.4.5 to 0.4.6
    -   `tagalign`: from 1.3.2 to 1.3.3
    -   `unused`: support passing in options
3.  misc.
    -   Add a pre-commit hook to check all files
4.  Documentation
    -   add source options to exclude-rules docs
- `gosec`: add G602 to includes/excludes inside .golangci.reference.yml

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you
are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about these
updates again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR has been generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/). View
repository job log
[here](https://developer.mend.io/github/hetznercloud/cli).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4zMS41IiwidXBkYXRlZEluVmVyIjoiMzcuMzEuNSIsInRhcmdldEJyYW5jaCI6Im1haW4ifQ==-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
  • Loading branch information
renovate[bot] authored Nov 6, 2023
1 parent 64aafb4 commit 90b53f8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
uses: golangci/golangci-lint-action@v3
with:
# Required: the version of golangci-lint is required and must be specified with patch version
version: v1.54.2 # renovate: datasource=github-releases depName=golangci/golangci-lint
version: v1.55.2 # renovate: datasource=github-releases depName=golangci/golangci-lint
# In general linting is quite fast with warm caches, but a fresh run might take some time.
args: --timeout 5m

Expand Down
2 changes: 1 addition & 1 deletion .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ workflow:

test:golangci-lint:
stage: test
image: golangci/golangci-lint:v1.55.1
image: golangci/golangci-lint:v1.55.2
script:
- golangci-lint run -v

Expand Down

0 comments on commit 90b53f8

Please sign in to comment.