Skip to content

Commit 31ca662

Browse files
committed
github-ci: add job with golang-lint
1 parent 193ed40 commit 31ca662

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

.github/workflows/check.yaml

+17
Original file line numberDiff line numberDiff line change
@@ -39,3 +39,20 @@ 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+
# Optional: version of golangci-lint to use in form of v1.2 or v1.2.3
55+
# or `latest` to use the latest version
56+
version: v1.29
57+
# Show only new issues if it's a pull request.
58+
only-new-issues: true

0 commit comments

Comments
 (0)