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
14 changes: 14 additions & 0 deletions .github/workflows/golangci-lint.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
name: golangci-lint
Glyphack marked this conversation as resolved.
Show resolved Hide resolved
on:
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.31
only-new-issues: true
11 changes: 0 additions & 11 deletions .github/workflows/prbuild.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -45,17 +45,6 @@ jobs:
go mod vendor
make install
make check-coverage
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-go@v2
with:
go-version: '1.15.2'
- name: lint
run: |
go mod vendor
make lint
codegen:
runs-on: ubuntu-latest
steps:
Expand Down