Skip to content

Commit

Permalink
update golangci-lint action
Browse files Browse the repository at this point in the history
  • Loading branch information
xaviergodart committed Aug 14, 2024
1 parent 03ee84d commit 419e78f
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
go-version: 1.22
- uses: actions/checkout@v4
- name: golangci-lint
uses: golangci/golangci-lint-action@v4
uses: golangci/golangci-lint-action@v6
with:
args: -c .golangci.yml
only-new-issues: false
7 changes: 3 additions & 4 deletions .golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,9 @@ linters:
linters-settings:
gofumpt:
module-path: sektron

# it weirdly fails when running in github actions on interface composition.
issues:
exclude-rules:
- path: ui/parameter.go
linters:
- typecheck
- path: ui/parameter.go
linters:
- typecheck
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ $(BIN):
mkdir -p $(BIN)

$(GOLANG_LINT): $(BIN)
GOBIN=$$(pwd)/$(BIN) go install github.com/golangci/golangci-lint/cmd/golangci-lint@v1.59.1
GOBIN=$$(pwd)/$(BIN) go install github.com/golangci/golangci-lint/cmd/golangci-lint@v1.60.1

build: $(BIN)
$(GOLANG_BUILD_OPTS) $(GOLANG_BIN) build -o $(BIN)/$(BIN_NAME)
Expand Down

0 comments on commit 419e78f

Please sign in to comment.