Skip to content

Commit

Permalink
CI: Add golangci-lint (#690)
Browse files Browse the repository at this point in the history
* feat: add golangci-lint

Signed-off-by: burntcarrot <aadhav.n1@gmail.com>

* Update golangci-lint.yml

Co-authored-by: Xuanwo <github@xuanwo.io>
  • Loading branch information
burntcarrot and Xuanwo authored Jul 26, 2021
1 parent d145186 commit 29366c6
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions .github/workflows/golangci-lint.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
name: golangci-lint
on: [push, pull_request]
jobs:
golangci_lint:
name: golangci_lint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: golangci-lint
uses: golangci/golangci-lint-action@v2
with:
version: v1.29

0 comments on commit 29366c6

Please sign in to comment.