-
-
Notifications
You must be signed in to change notification settings - Fork 178
Closed
golangci/golangci-lint
#4685Description
Please include the following information:
Version of golangci-lint
- id: golangci_configuration
uses: andstor/file-existence-action@v1
with:
files: .golangci.yaml
- name: Go Lint
if: steps.golangci_configuration.outputs.files_exists == 'true'
uses: golangci/golangci-lint-action@v2
with:
version: v1.30Config file
run:
timeout: 5m
build-tags:
- e2e
skip-dirs:
- pkg/client
linters:
enable:
- asciicheck
- golint
- gosec
- prealloc
- stylecheck
- unconvert
- unparam
disable:
- errcheck
issues:
exclude-rules:
- path: test # Excludes /test, *_test.go etc.
linters:
- gosec
- unparamGo environment
$ go version && go env
1.15Verbose output of running
https://github.com/knative/networking/pull/233/checks?check_run_id=1275974348
I had to view the 'files changed' page to see the lints
leetrout, caevv, hellt, slonopotamus, tmickel and 38 morewmnsk, cherrot, bojan-embroker, wemgl, fdcds and 2 more