Skip to content

Commit 47b31cf

Browse files
committed
github-ci: add job with golang-lint
Part of #142
1 parent ba8e178 commit 47b31cf

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
@@ -39,3 +39,18 @@ jobs:
3939

4040
- name: Run luacheck
4141
run: ./.rocks/bin/luacheck .
42+
43+
golangci:
44+
name: lint
45+
runs-on: ubuntu-latest
46+
steps:
47+
- uses: actions/setup-go@v2
48+
49+
- uses: actions/checkout@v2
50+
51+
- name: golangci-lint
52+
uses: golangci/golangci-lint-action@v2
53+
with:
54+
# Show only new issues if it's a pull request.
55+
only-new-issues: true
56+
args: --issues-exit-code=0

0 commit comments

Comments
 (0)