File tree Expand file tree Collapse file tree 2 files changed +14
-1
lines changed Expand file tree Collapse file tree 2 files changed +14
-1
lines changed Original file line number Diff line number Diff line change @@ -106,6 +106,10 @@ RUN --mount=type=bind,target=. \
106
106
--mount=from=golangci-lint,source=/usr/bin/golangci-lint,target=/usr/bin/golangci-lint \
107
107
golangci-lint run ./...
108
108
109
+ FROM gobase AS fmt-proto
110
+ RUN --mount=type=bind,target=. \
111
+ make fmt-proto
112
+
109
113
# use generate-base to have protoc available
110
114
FROM generate-base
111
115
ENV GO111MODULE=on
Original file line number Diff line number Diff line change @@ -15,11 +15,20 @@ group "validate" {
15
15
targets = [" lint" , " vendor-validate" , " generate-validate" ]
16
16
}
17
17
18
- target "lint" {
18
+ group "lint" {
19
+ targets = [" golangci-lint" , " fmt-proto" ]
20
+ }
21
+
22
+ target "golangci-lint" {
19
23
target = " lint"
20
24
output = [" type=cacheonly" ]
21
25
}
22
26
27
+ target "fmt-proto" {
28
+ target = " fmt-proto"
29
+ output = [" type=cacheonly" ]
30
+ }
31
+
23
32
target "vendor-validate" {
24
33
target = " vendor-validate"
25
34
output = [" type=cacheonly" ]
You can’t perform that action at this time.
0 commit comments