-
-
Notifications
You must be signed in to change notification settings - Fork 47
Open
Description
There are known issues in golangci-lint around 1.18 compatibility, listed below. The real issue is that this action reports success even when the underlying code fails.
Related Issues
- fail_on_error does not work for golangci-lint #142
- Failed golangci-lint run does not cause check to fail #64
- Panic since update to v1.43.0 (load embedded ruleguard rules: rules/rules.go:13: can't load fmt) golangci/golangci-lint#2374
- Panic after upgrade golangci-lint to v1.43.0 go-critic/go-critic#1157
- Support of generics golangci/golangci-lint#2649
Config
- name: golangci-lint
uses: reviewdog/action-golangci-lint@master
with:
tool_name: golangci-lint
golangci_lint_version: v1.44.0
reviewdog_version: v0.13.1
go_version: '1.18.0'
# we're not having reviewdog cache for us because we're caching across multiple actions here
cache: false
level: error
fail_on_error: true
reporter: github-pr-review
filter_mode: diff_contextError Output
Running golangci-lint with reviewdog 🐶 ...
/home/runner/work/_temp/reviewdog-gvywRD/golangci-lint-1.44.0-nz1-linux-amd64/golangci-lint run --out-format line-number
panic: load embedded ruleguard rules: rules/rules.go:13: can't load fmt
goroutine 1 [running]:
github.com/go-critic/go-critic/checkers.init.22()
/home/dlaird/go/pkg/mod/github.com/go-critic/[email protected]/checkers/embedded_rules.go:46 +0x4b4
/home/runner/work/_temp/reviewdog-gvywRD/reviewdog -f=golangci-lint -name=golangci-lint -reporter=github-pr-review -filter-mode=diff_context -fail-on-error=true -level=error
Metadata
Metadata
Assignees
Labels
No labels
