Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add golangci lint GH action #2976

Merged
merged 10 commits into from
Oct 22, 2020
10 changes: 4 additions & 6 deletions .github/workflows/prbuild.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -49,13 +49,11 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-go@v2
- name: golangci-lint
uses: golangci/golangci-lint-action@v2
with:
go-version: '1.15.2'
- name: lint
run: |
go mod vendor
make lint
version: v1.31
only-new-issues: true
codegen:
runs-on: ubuntu-latest
steps:
Expand Down