Skip to content

Commit ba41fb5

Browse files
[skip-changelog] Bump golangci/golangci-lint-action from 3 to 8 (#83)
* Bump golangci/golangci-lint-action from 3 to 8 Bumps [golangci/golangci-lint-action](https://github.com/golangci/golangci-lint-action) from 3 to 8. - [Release notes](https://github.com/golangci/golangci-lint-action/releases) - [Commits](golangci/golangci-lint-action@v3...v8) --- updated-dependencies: - dependency-name: golangci/golangci-lint-action dependency-version: '8' dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com> * Migrated configuration file for golanci lint * Upgrade golanci-lint --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Cristian Maglie <c.maglie@arduino.cc>
1 parent d6a38f8 commit ba41fb5

File tree

2 files changed

+16
-6
lines changed

2 files changed

+16
-6
lines changed

.github/workflows/check-go-task.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -121,9 +121,9 @@ jobs:
121121
version: 3.x
122122

123123
- name: Install golangci-lint
124-
uses: golangci/golangci-lint-action@v3
124+
uses: golangci/golangci-lint-action@v8
125125
with:
126-
version: v1.54
126+
version: v2.5.0
127127

128128
- name: Check style
129129
env:

.golangci.yml

Lines changed: 14 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,17 @@
1-
# Source: https://github.com/arduino/tooling-project-assets/blob/main/workflow-templates/assets/go/.golangci.yml
2-
# See: https://golangci-lint.run/usage/configuration/
3-
issues:
4-
exclude-use-default: false
1+
version: "2"
52
linters:
63
enable:
74
- revive
5+
exclusions:
6+
generated: lax
7+
paths:
8+
- third_party$
9+
- builtin$
10+
- examples$
11+
formatters:
12+
exclusions:
13+
generated: lax
14+
paths:
15+
- third_party$
16+
- builtin$
17+
- examples$

0 commit comments

Comments
 (0)