We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d67059f commit 4d39a99Copy full SHA for 4d39a99
.github/workflows/build.yml
@@ -8,6 +8,18 @@ on:
8
types: [opened, synchronize, reopened]
9
10
jobs:
11
+ check:
12
+ runs-on: ubuntu-latest
13
+ steps:
14
+ - name: Checkout
15
+ uses: actions/checkout@v2
16
+ - uses: reviewdog/action-staticcheck@v1
17
+ with:
18
+ github_token: ${{ secrets.github_token }}
19
+ reporter: github-pr-review
20
+ filter_mode: nofilter
21
+ fail_on_error: true
22
+
23
build:
24
runs-on: ubuntu-latest
25
strategy:
@@ -23,8 +35,6 @@ jobs:
35
go-version: "${{ matrix.go }}"
36
- name: Build
37
run: |
26
- go install honnef.co/go/tools/cmd/staticcheck@latest
27
- staticcheck ./...
28
38
go vet ./...
29
39
go test -v ./...
30
40
go build ./...
0 commit comments