-
-
Notifications
You must be signed in to change notification settings - Fork 179
Closed
Labels
questionFurther information is requestedFurther information is requested
Description
Welcome
- Yes, I understand that the GitHub action repository is not the repository of golangci-lint itself.
- Yes, I've searched similar issues on GitHub and didn't find any.
- Yes, I've included all information below (version, config, etc).
Description of the problem
the logs is too few, and i cannot judge what the problem in the logs.
How can i get more detail infos in the golang-lint-action
In local, if i exec the command directly , it will print the detail infos, like following:

Version of golangci-lint
latest
Version of the GitHub Action
golangci/golangci-lint-action@v3
Workflow file
jobs:
lint:
name: Lint check
runs-on: ubuntu-latest
steps:
- name: Set up Go
uses: actions/setup-go@v3
with:
go-version: 1.18
- name: Check out code into the Go module directory
uses: actions/checkout@v3
- name: Golangci Lint
# https://golangci-lint.run/
uses: golangci/golangci-lint-action@v3
with:
version: latest
Go version
1.18
Code example or link to a public repository
https://github.com/opensergo/opensergo-go-sdk/actions/runs/3627078730/jobs/6116638569
.golangci.yml
# Options for analysis running.
run:
# vendor$, third_party$, testdata$, examples$, Godeps$, builtin$
skip-dirs-use-default: true
skip-dirs:
- pkg/proto
- samples
- pkg/common/logging/samples
skip-files:
- ".*\\.pb\\.go$"
# output configuration options
output:
format: colored-line-number
# Refer to https://golangci-lint.run/usage/linters
linters-settings:
govet:
# Disable analyzers by name.
# Run `go tool vet help` to see all analyzers.
disable:
- stdmethods
linters:
disable-all: true
enable:
- goimports
- gofmt
- misspell
- govet
- ineffassign
- staticcheck
issues:
exclude-use-default: trueMetadata
Metadata
Assignees
Labels
questionFurther information is requestedFurther information is requested
