Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion .github/workflows/make-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,10 @@ jobs:
with:
go-version: ${{ matrix.go }}
- name: Build
run: make check
run: make vet
- if: runner.os == 'Linux'
name: Go version check
run: make goversioncheck
- if: runner.os == 'macOS'
name: pkg-config check
run: command -v pkg-config || echo "pkg-config is missing"
4 changes: 4 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -256,6 +256,10 @@ e2e-story-microshift: install
fmt: $(TOOLS_BINDIR)/goimports
@$(TOOLS_BINDIR)/goimports -l -w $(SOURCE_DIRS)

.PHONY: vet
vet: gen_release_info
go vet -tags "containers_image_openpgp,build" ./...

# Run golangci-lint against code
.PHONY: lint cross-lint
lint: $(TOOLS_BINDIR)/golangci-lint gen_release_info
Expand Down