Skip to content

Commit 6dd0765

Browse files
committed
++
1 parent 9ba67a9 commit 6dd0765

File tree

1 file changed

+12
-10
lines changed

1 file changed

+12
-10
lines changed

.github/workflows/build.yml

Lines changed: 12 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,18 @@ on:
88
types: [opened, synchronize, reopened]
99

1010
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+
1123
build:
1224
runs-on: ubuntu-latest
1325
strategy:
@@ -19,20 +31,10 @@ jobs:
1931
uses: actions/checkout@v2
2032
with:
2133
path: src/github.com/golang-jwt/jwt
22-
fetch-depth: 0
23-
- run: |
24-
sudo apt install -y git
2534
- name: Setup Go
2635
uses: actions/setup-go@v2
2736
with:
2837
go-version: "${{ matrix.go }}"
29-
- uses: reviewdog/action-staticcheck@v1
30-
with:
31-
github_token: ${{ secrets.github_token }}
32-
reporter: github-pr-review
33-
filter_mode: nofilter
34-
fail_on_error: true
35-
workdir: src/github.com/golang-jwt/jwt
3638
- name: Build
3739
run: |
3840
go vet ./...

0 commit comments

Comments
 (0)