File tree Expand file tree Collapse file tree 1 file changed +12
-10
lines changed Expand file tree Collapse file tree 1 file changed +12
-10
lines changed Original file line number Diff line number Diff line change 8
8
types : [opened, synchronize, reopened]
9
9
10
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
+
11
23
build :
12
24
runs-on : ubuntu-latest
13
25
strategy :
@@ -19,20 +31,10 @@ jobs:
19
31
uses : actions/checkout@v2
20
32
with :
21
33
path : src/github.com/golang-jwt/jwt
22
- fetch-depth : 0
23
- - run : |
24
- sudo apt install -y git
25
34
- name : Setup Go
26
35
uses : actions/setup-go@v2
27
36
with :
28
37
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
36
38
- name : Build
37
39
run : |
38
40
go vet ./...
You can’t perform that action at this time.
0 commit comments