File tree Expand file tree Collapse file tree 2 files changed +5
-21
lines changed Expand file tree Collapse file tree 2 files changed +5
-21
lines changed Original file line number Diff line number Diff line change 19
19
with :
20
20
go-version : ' 1.19'
21
21
- uses : actions/checkout@v3
22
- - name : golangci-lint
23
- uses : golangci/golangci-lint-action@v3
22
+ - uses : golangci/golangci-lint-action@v3
24
23
with :
25
- # Optional: version of golangci-lint to use in form of v1.2 or v1.2.3 or `latest` to use the latest version
26
24
version : v1.49
27
- args : --timeout 10m0s
25
+ - name : lint
26
+ run : |
27
+ make lint-all
Original file line number Diff line number Diff line change 1
- name : Test
1
+ name : Unit Test
2
2
on :
3
3
pull_request :
4
4
push :
15
15
with :
16
16
go-version : ' 1.19'
17
17
- uses : actions/checkout@v3
18
- - uses : technote-space/get-diff-action@v6
19
- with :
20
- PATTERNS : |
21
- **/**.go
22
- "!test/"
23
- go.mod
24
- go.sum
25
- Makefile
26
- - name : Get data from Go build cache
27
- uses : actions/cache@v3
28
- with :
29
- path : |
30
- ~/go/pkg/mod
31
- ~/.cache/golangci-lint
32
- ~/.cache/go-build
33
- key : ${{ runner.os }}-go-build-${{ hashFiles('**/go.sum') }}
34
18
- name : Run Go Tests
35
19
run : |
36
20
make test-all
You can’t perform that action at this time.
0 commit comments