Skip to content

Commit fee1895

Browse files
authored
Merge pull request #25 from protobom/dependabot/github_actions/golangci/golangci-lint-action-6.5.0
Bump golangci/golangci-lint-action from 6.4.1 to 6.5.0
2 parents a4ea74d + 533e8bd commit fee1895

File tree

3 files changed

+8
-13
lines changed

3 files changed

+8
-13
lines changed

.github/workflows/go-build-and-test.yaml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,11 @@ jobs:
1717
- name: Set up Go
1818
uses: actions/setup-go@f111f3307d8850f501ac008e886eec1fd1932a34 # v5.3.0
1919
with:
20-
go-version-file: go.mod
20+
go-version: '1.24'
21+
check-latest: true
2122
cache: false
2223

24+
2325
- name: Test
2426
run: |
2527
go get -d ./...

.github/workflows/golangci-lint.yaml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,11 +18,13 @@ jobs:
1818
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
1919
- uses: actions/setup-go@f111f3307d8850f501ac008e886eec1fd1932a34 # v5.3.0
2020
with:
21-
go-version-file: go.mod
21+
go-version: '1.24'
22+
check-latest: true
2223
cache: false
24+
2325

2426
- name: Run golangci-lint
25-
uses: golangci/golangci-lint-action@818ec4d51a1feacefc42ff1b3ec25d4962690f39 # v6.4.1
27+
uses: golangci/golangci-lint-action@2226d7cb06a077cd73e56eedd38eecad18e5d837 # v6.5.0
2628
with:
27-
version: v1.61
29+
version: v1.64.5
2830

.golangci.yaml

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -90,10 +90,6 @@ linters:
9090
# - wrapcheck
9191
# - wsl
9292
linters-settings:
93-
depguard:
94-
list-type: blacklist
95-
include-go-root: true
96-
include-go-std-lib: true
9793
gci:
9894
no-inline-comments: false
9995
no-prefix-comments: true
@@ -102,8 +98,6 @@ linters-settings:
10298
- default
10399
- prefix(github.com/protobom/cel)
104100

105-
section-separators:
106-
- newLine
107101
godox:
108102
keywords:
109103
- BUG
@@ -156,9 +150,6 @@ linters-settings:
156150
nolintlint:
157151
# Enable to ensure that nolint directives are all used. Default is true.
158152
allow-unused: false
159-
# Disable to ensure that nolint directives don't have a leading space. Default is true.
160-
# TODO(lint): Enforce machine-readable `nolint` directives
161-
allow-leading-space: true
162153
# Exclude following linters from requiring an explanation. Default is [].
163154
allow-no-explanation: []
164155
# Enable to require an explanation of nonzero length after each nolint directive. Default is false.

0 commit comments

Comments
 (0)