Skip to content

Commit af884b3

Browse files
build(deps): bump golangci/golangci-lint-action from 6 to 7 (#22)
* build(deps): 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-version: '7' dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com> * Bump golangci-lint v1.64.8 => v2.0.2 * Updating golangci-lint to conform with version 2 * Further changes to .golangci-lint due to upgrade to v2 --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Francisco Delmar Kurpiel <francisco.kurpiel@simplesurance.de>
1 parent bbb07a9 commit af884b3

2 files changed

Lines changed: 27 additions & 29 deletions

File tree

.github/workflows/ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ jobs:
3232
strategy:
3333
matrix:
3434
go: ["1.21", "stable"]
35-
lint: ["v1.64.8"]
35+
lint: ["v2.0.2"]
3636
name: lint
3737
runs-on: ubuntu-latest
3838
steps:
@@ -42,6 +42,6 @@ jobs:
4242
go-version: ${{ matrix.go }}
4343
cache: true
4444
- name: golangci-lint
45-
uses: golangci/golangci-lint-action@v6
45+
uses: golangci/golangci-lint-action@v7
4646
with:
4747
version: ${{ matrix.lint }}

.golangci.yml

Lines changed: 25 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -1,32 +1,30 @@
11
---
2+
version: "2"
23
linters:
3-
disable-all: false
4-
enable:
5-
- bodyclose
4+
default: all
5+
disable:
6+
- wsl
7+
- varnamelen
8+
- canonicalheader
9+
- cyclop
10+
- depguard
11+
- err113
612
- errcheck
7-
- errorlint
8-
- copyloopvar
9-
- goimports
10-
- goprintffuncname
11-
- gosimple
12-
- govet
13-
- ineffassign
14-
- misspell
15-
- noctx
16-
- nolintlint
17-
- nosprintfhostport
18-
- prealloc
13+
- exhaustive
14+
- exhaustruct
15+
- funlen
16+
- gochecknoglobals
17+
- goconst
18+
- gosec
19+
- inamedparam
20+
- lll
21+
- mnd
22+
- nlreturn
23+
- nonamedreturns
24+
- paralleltest
1925
- revive
2026
- staticcheck
21-
- usetesting
22-
- typecheck
23-
- unconvert
24-
- unused
25-
- usestdlibvars
26-
27-
linters-settings:
28-
goimports:
29-
local-prefixes: github.com/simplesurance/cfdns
30-
31-
issues:
32-
exclude-use-default: true
27+
- tagliatelle
28+
- thelper
29+
- wrapcheck
30+
- ireturn

0 commit comments

Comments
 (0)