Skip to content

Commit

Permalink
github-ci: add job with golang-lint
Browse files Browse the repository at this point in the history
Part of #142
  • Loading branch information
ligurio committed Apr 12, 2022
1 parent 77f2d70 commit bb51d08
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions .github/workflows/check.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -34,3 +34,18 @@ jobs:

- name: Run luacheck
run: ./.rocks/bin/luacheck .

golangci:
name: lint
runs-on: ubuntu-latest
steps:
- uses: actions/setup-go@v2

- uses: actions/checkout@v2

- name: golangci-lint
uses: golangci/golangci-lint-action@v2
with:
# Show only new issues if it's a pull request.
only-new-issues: true
args: --issues-exit-code=0

0 comments on commit bb51d08

Please sign in to comment.