Skip to content

Commit

Permalink
Merge pull request #119 from mayankshah1607/ci-linter
Browse files Browse the repository at this point in the history
CI: Use `golangci-lint-action` for running linters
  • Loading branch information
k8s-ci-robot authored Sep 23, 2020
2 parents 9803d9f + d9ed4cf commit 65f6394
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions .github/workflows/static.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
name: Static Checks
on:
pull_request: {}
push: {}
jobs:
go_lint:
name: Go Lint
runs-on: ubuntu-18.04
steps:
- name: Checkout code
uses: actions/checkout@master
- name: Run linter
uses: golangci/golangci-lint-action@v1
with:
version: v1.29
args: -E=gofmt --timeout=30m0s

0 comments on commit 65f6394

Please sign in to comment.