Skip to content

Commit

Permalink
Merge pull request #25 from protobom/dependabot/github_actions/golang…
Browse files Browse the repository at this point in the history
…ci/golangci-lint-action-6.5.0

Bump golangci/golangci-lint-action from 6.4.1 to 6.5.0
  • Loading branch information
puerco authored Feb 18, 2025
2 parents a4ea74d + 533e8bd commit fee1895
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 13 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/go-build-and-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,11 @@ jobs:
- name: Set up Go
uses: actions/setup-go@f111f3307d8850f501ac008e886eec1fd1932a34 # v5.3.0
with:
go-version-file: go.mod
go-version: '1.24'
check-latest: true
cache: false


- name: Test
run: |
go get -d ./...
Expand Down
8 changes: 5 additions & 3 deletions .github/workflows/golangci-lint.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,13 @@ jobs:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- uses: actions/setup-go@f111f3307d8850f501ac008e886eec1fd1932a34 # v5.3.0
with:
go-version-file: go.mod
go-version: '1.24'
check-latest: true
cache: false


- name: Run golangci-lint
uses: golangci/golangci-lint-action@818ec4d51a1feacefc42ff1b3ec25d4962690f39 # v6.4.1
uses: golangci/golangci-lint-action@2226d7cb06a077cd73e56eedd38eecad18e5d837 # v6.5.0
with:
version: v1.61
version: v1.64.5

9 changes: 0 additions & 9 deletions .golangci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -90,10 +90,6 @@ linters:
# - wrapcheck
# - wsl
linters-settings:
depguard:
list-type: blacklist
include-go-root: true
include-go-std-lib: true
gci:
no-inline-comments: false
no-prefix-comments: true
Expand All @@ -102,8 +98,6 @@ linters-settings:
- default
- prefix(github.com/protobom/cel)

section-separators:
- newLine
godox:
keywords:
- BUG
Expand Down Expand Up @@ -156,9 +150,6 @@ linters-settings:
nolintlint:
# Enable to ensure that nolint directives are all used. Default is true.
allow-unused: false
# Disable to ensure that nolint directives don't have a leading space. Default is true.
# TODO(lint): Enforce machine-readable `nolint` directives
allow-leading-space: true
# Exclude following linters from requiring an explanation. Default is [].
allow-no-explanation: []
# Enable to require an explanation of nonzero length after each nolint directive. Default is false.
Expand Down

0 comments on commit fee1895

Please sign in to comment.