Files
podman/vendor/github.com/fsouza/go-dockerclient/Makefile
dependabot[bot] 095026c3d5 Bump github.com/containers/buildah from 1.24.1 to 1.24.2
Bumps [github.com/containers/buildah](https://github.com/containers/buildah) from 1.24.1 to 1.24.2.
- [Release notes](https://github.com/containers/buildah/releases)
- [Changelog](https://github.com/containers/buildah/blob/main/CHANGELOG.md)
- [Commits](https://github.com/containers/buildah/compare/v1.24.1...v1.24.2)

---
updated-dependencies:
- dependency-name: github.com/containers/buildah
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-02-17 12:08:46 +00:00

31 lines
572 B
Makefile

ifeq "$(strip $(shell go env GOARCH))" "amd64"
RACE_FLAG := -race
endif
.PHONY: test
test: pretest gotest
.PHONY: golangci-lint
golangci-lint:
go install github.com/golangci/golangci-lint/cmd/golangci-lint@latest
golangci-lint run
.PHONY: staticcheck
staticcheck:
go install honnef.co/go/tools/cmd/staticcheck@master
staticcheck ./...
.PHONY: lint
lint: golangci-lint staticcheck
.PHONY: pretest
pretest: lint
.PHONY: gotest
gotest:
go test $(RACE_FLAG) -vet all ./...
.PHONY: integration
integration:
go test -tags docker_integration -run TestIntegration -v