Skip to content

Merge pull request #1489 from siyuebin11/patch-1 #3349

Merge pull request #1489 from siyuebin11/patch-1

Merge pull request #1489 from siyuebin11/patch-1 #3349

Workflow file for this run

name: golangci-lint
on: [ push, pull_request ]
jobs:
golangci:
name: lint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: golangci-lint
uses: golangci/golangci-lint-action@v2
with:
version: v1.29
args: --timeout=5m --skip-dirs='server/core/proto,test,pkg/cache,server/plugin/discovery,server/service/event,server/service/util,server/bootstrap,server/notify,server/rest/controller/v3,server/broker/brokerpb,examples,syncer,frontend,scctl,integration,pkg/registry' --enable gofmt,golint,gocyclo,goimports --skip-files=.*_test.go$