Skip to content

Commit 1689130

Browse files
chore(deps): bump golangci/golangci-lint-action from 6.3.1 to 6.5.1 (#350)
* chore(deps): bump golangci/golangci-lint-action from 6.3.1 to 6.5.1 Bumps [golangci/golangci-lint-action](https://github.com/golangci/golangci-lint-action) from 6.3.1 to 6.5.1. - [Release notes](https://github.com/golangci/golangci-lint-action/releases) - [Commits](golangci/golangci-lint-action@2e78893...4696ba8) --- updated-dependencies: - dependency-name: golangci/golangci-lint-action dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]> * remove deprecated gomnd, add mnd to .golangci Signed-off-by: Christoph Voigt <[email protected]> --------- Signed-off-by: dependabot[bot] <[email protected]> Signed-off-by: Christoph Voigt <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Christoph Voigt <[email protected]>
1 parent f7ad631 commit 1689130

File tree

2 files changed

+5
-6
lines changed

2 files changed

+5
-6
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ jobs:
3939
with:
4040
go-version: "1.24"
4141
- name: golangci-lint
42-
uses: golangci/golangci-lint-action@2e788936b09dd82dc280e845628a40d2ba6b204c # v6.3.1
42+
uses: golangci/golangci-lint-action@4696ba8babb6127d732c3c6dde519db15edab9ea # v6.5.1
4343
with:
4444
version: v1.64.7
4545
skip-cache: true

.golangci.yaml

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ linters-settings:
9898
# Default: true
9999
skipRecvDeref: false
100100

101-
gomnd:
101+
mnd:
102102
# List of function patterns to exclude from analysis.
103103
# Values always ignored: `time.Date`,
104104
# `strconv.FormatInt`, `strconv.FormatUint`, `strconv.FormatFloat`,
@@ -143,7 +143,7 @@ linters-settings:
143143
nolintlint:
144144
# Exclude following linters from requiring an explanation.
145145
# Default: []
146-
allow-no-explanation: [ funlen, gocognit, lll ]
146+
allow-no-explanation: [funlen, gocognit, lll]
147147
# Enable to require an explanation of nonzero length after each nolint directive.
148148
# Default: false
149149
require-explanation: true
@@ -172,7 +172,6 @@ linters-settings:
172172
nestif:
173173
min-complexity: 8
174174

175-
176175
linters:
177176
disable-all: true
178177
enable:
@@ -283,9 +282,9 @@ issues:
283282

284283
exclude-rules:
285284
- source: "(noinspection|TODO)"
286-
linters: [ godot ]
285+
linters: [godot]
287286
- source: "//noinspection"
288-
linters: [ gocritic ]
287+
linters: [gocritic]
289288
- path: "_test\\.go"
290289
linters:
291290
- bodyclose

0 commit comments

Comments
 (0)