Skip to content

Commit 65f6394

Browse files
authored
Merge pull request #119 from mayankshah1607/ci-linter
CI: Use `golangci-lint-action` for running linters
2 parents 9803d9f + d9ed4cf commit 65f6394

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)