Skip to content

Commit

Permalink
chore: adds golangci-lint github action
Browse files Browse the repository at this point in the history
- Adding github action for linting checks on pull requests

Signed-off-by: guacamole <gunjanwalecha@gmail.com>
  • Loading branch information
guacamole committed Oct 1, 2021
1 parent aa016d6 commit ef6dcef
Showing 1 changed file with 14 additions and 0 deletions.
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
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: latest
args: --config golangci.yaml

0 comments on commit ef6dcef

Please sign in to comment.