Skip to content

Commit 740639a

Browse files
authored
Merge pull request #247 from mayankshah1607/golangci-linter
CI: Add `golangci-linter` to github actions
2 parents eea0c3f + c8e6608 commit 740639a

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

.github/workflows/static.yaml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
name: Static Checks
2+
on:
3+
pull_request: {}
4+
push: {}
5+
jobs:
6+
go_lint:
7+
name: Go Lint
8+
runs-on: ubuntu-18.04
9+
steps:
10+
- name: Checkout code
11+
uses: actions/checkout@master
12+
- name: Run linter
13+
uses: golangci/golangci-lint-action@v1
14+
with:
15+
version: v1.29
16+
args: -E=gofmt --timeout=30m0s

0 commit comments

Comments
 (0)