File tree 2 files changed +9
-2
lines changed
2 files changed +9
-2
lines changed Original file line number Diff line number Diff line change @@ -37,11 +37,16 @@ jobs:
37
37
shell : bash
38
38
run : |
39
39
go build ./...
40
- - name : Lint
40
+ - name : Lint with mock back-end
41
41
uses : golangci/golangci-lint-action@v3
42
42
with :
43
43
version : latest
44
- args : --config=.golangci-lint.yaml
44
+ args : --config=.golangci-lint.yaml --build-tags="gowslmock"
45
+ - name : Lint with real back-end
46
+ uses : golangci/golangci-lint-action@v3
47
+ with :
48
+ version : latest
49
+ args : --config=.golangci-lint.yaml
45
50
46
51
vm-setup :
47
52
name : " Set up Azure VM"
Original file line number Diff line number Diff line change 2
2
# golangci-lint run -c .golangci-lint.yaml
3
3
# Locally, you can use
4
4
# golangci-lint run -c .golangci-lint.yaml --fix
5
+ #
6
+ # Use argument --build-tags="gowslmock" to lint the mock files.
5
7
6
8
linters :
7
9
# linters to run in addition to default ones
You can’t perform that action at this time.
0 commit comments