Added ReviewDOg CI checks for Golang (#7827)
James Mills committed
Jan 28, 2020 at 05:51 UTC
f8d3b2cb46bb608a3a80c3d00b57cae38eae3d6c
1 file changed
+12
-1
.github/workflows/reviewdog.yml
+12
-1
@@ -1,6 +1,17 @@
1
name: reviewdog
2
on: [pull_request]
3
jobs:
4
+ golangci-lint:
5
+ name: runner / golangci-lint
6
+ runs-on: ubuntu-latest
7
+ steps:
8
+ - uses: actions/checkout@v1
9
+ - name: golangci-lint
10
+ uses: reviewdog/action-golangci-lint@v1
11
+ with:
12
+ github_token: ${{ secrets.GITHUB_TOKEN }}
13
+ reporter: github-pr-check
14
+
15
eslint:
16
name: runner / eslint
17
runs-on: ubuntu-latest
@@ -25,4 +36,4 @@ jobs:
36
reporter: github-pr-check
37
path: "."
38
pattern: "*.sh*"
28
- exclude: "./.git/*"
39
+ exclude: "./.git/*"
\ No newline at end of file