forked from denisenkom/go-mssqldb
-
Notifications
You must be signed in to change notification settings - Fork 69
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
introduce reviewdog (denisenkom#601)
- Loading branch information
1 parent
d64bfdb
commit d4db269
Showing
2 changed files
with
24 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
name: reviewdog | ||
on: [pull_request] | ||
jobs: | ||
golangci-lint: | ||
name: runner / golangci-lint | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Check out code into the Go module directory | ||
uses: actions/checkout@v2 | ||
- name: golangci-lint | ||
uses: reviewdog/action-golangci-lint@v1 | ||
with: | ||
level: warning | ||
reporter: github-pr-review |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
linters: | ||
enable: | ||
# basic go linters | ||
- gofmt | ||
- golint | ||
- govet | ||
|
||
# sql related linters | ||
- rowserrcheck | ||
- sqlclosecheck |