Skip to content

Commit 258d3b1

Browse files
Bump golangci/golangci-lint-action from 6 to 7 (#84)
* Bump golangci/golangci-lint-action from 6 to 7 Bumps [golangci/golangci-lint-action](https://github.com/golangci/golangci-lint-action) from 6 to 7. - [Release notes](https://github.com/golangci/golangci-lint-action/releases) - [Commits](golangci/golangci-lint-action@v6...v7) --- updated-dependencies: - dependency-name: golangci/golangci-lint-action dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <[email protected]> * Fix config * Just use standard configs --------- Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Kalle Fagerberg <[email protected]>
1 parent a35ed14 commit 258d3b1

File tree

2 files changed

+6
-18
lines changed

2 files changed

+6
-18
lines changed

.github/workflows/test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ jobs:
3737
- run: go mod download
3838
- run: go build -v .
3939
- name: Run linters
40-
uses: golangci/golangci-lint-action@v6
40+
uses: golangci/golangci-lint-action@v7
4141
with:
4242
version: latest
4343

.golangci.yml

Lines changed: 5 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -3,29 +3,17 @@
33
#
44
# SPDX-License-Identifier: MPL-2.0
55

6+
version: "2"
7+
68
# Visit https://golangci-lint.run/ for usage documentation
79
# and information on other useful linters
810
issues:
911
max-issues-per-linter: 0
1012
max-same-issues: 0
1113

1214
linters:
13-
disable-all: true
15+
default: standard
16+
17+
formatters:
1418
enable:
15-
- durationcheck
16-
- errcheck
17-
- forcetypeassert
18-
- godot
1919
- gofmt
20-
- gosimple
21-
- ineffassign
22-
- makezero
23-
- misspell
24-
- nilerr
25-
- predeclared
26-
- staticcheck
27-
- usetesting
28-
- unconvert
29-
- unparam
30-
- unused
31-
- govet

0 commit comments

Comments
 (0)