Skip to content

Commit

Permalink
Merge pull request #387 from cpanato/golangci-lint
Browse files Browse the repository at this point in the history
ci: add golangci-lint to run using github-actions
  • Loading branch information
k8s-ci-robot authored Jun 21, 2021
2 parents e072f57 + dd26a3c commit c5ef4c2
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 1 deletion.
13 changes: 13 additions & 0 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
name: Lint
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.41.1
2 changes: 1 addition & 1 deletion scripts/ci-test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -26,4 +26,4 @@ cd "${REPO_ROOT}" && \
source ./scripts/fetch_ext_bins.sh && \
fetch_tools && \
setup_envs && \
make generate lint test
make generate test

0 comments on commit c5ef4c2

Please sign in to comment.