Skip to content

Commit bb51d08

Browse files
committed
github-ci: add job with golang-lint
Part of #142
1 parent 77f2d70 commit bb51d08

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

.github/workflows/check.yaml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,3 +34,18 @@ jobs:
3434

3535
- name: Run luacheck
3636
run: ./.rocks/bin/luacheck .
37+
38+
golangci:
39+
name: lint
40+
runs-on: ubuntu-latest
41+
steps:
42+
- uses: actions/setup-go@v2
43+
44+
- uses: actions/checkout@v2
45+
46+
- name: golangci-lint
47+
uses: golangci/golangci-lint-action@v2
48+
with:
49+
# Show only new issues if it's a pull request.
50+
only-new-issues: true
51+
args: --issues-exit-code=0

0 commit comments

Comments
 (0)