File tree Expand file tree Collapse file tree 2 files changed +8
-1
lines changed
Expand file tree Collapse file tree 2 files changed +8
-1
lines changed Original file line number Diff line number Diff line change 2525 with :
2626 go-version : ${{ matrix.go }}
2727 - name : Build
28- run : make check
28+ run : make vet
2929 - if : runner.os == 'Linux'
3030 name : Go version check
3131 run : make goversioncheck
32+ - if : runner.os == 'macOS'
33+ name : pkg-config check
34+ run : command -v pkg-config || echo "pkg-config is missing"
Original file line number Diff line number Diff line change @@ -256,6 +256,10 @@ e2e-story-microshift: install
256256fmt : $(TOOLS_BINDIR ) /goimports
257257 @$(TOOLS_BINDIR ) /goimports -l -w $(SOURCE_DIRS )
258258
259+ .PHONY : vet
260+ vet : gen_release_info
261+ go vet -tags " containers_image_openpgp,build" ./...
262+
259263# Run golangci-lint against code
260264.PHONY : lint cross-lint
261265lint : $(TOOLS_BINDIR ) /golangci-lint gen_release_info
You can’t perform that action at this time.
0 commit comments