mirror of
https://github.com/podman-container-tools/podman.git
synced 2026-08-08 18:05:41 +00:00
Bumps [github.com/opencontainers/runc](https://github.com/opencontainers/runc) from 1.0.3 to 1.1.0. - [Release notes](https://github.com/opencontainers/runc/releases) - [Changelog](https://github.com/opencontainers/runc/blob/master/CHANGELOG.md) - [Commits](https://github.com/opencontainers/runc/compare/v1.0.3...v1.1.0) --- updated-dependencies: - dependency-name: github.com/opencontainers/runc dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com>
32 lines
666 B
Makefile
32 lines
666 B
Makefile
# libseccomp-golang
|
|
|
|
.PHONY: all check check-build check-syntax fix-syntax vet test lint
|
|
|
|
all: check-build
|
|
|
|
check: vet test
|
|
|
|
check-build:
|
|
go build
|
|
|
|
check-syntax:
|
|
gofmt -d .
|
|
|
|
fix-syntax:
|
|
gofmt -w .
|
|
|
|
vet:
|
|
go vet -v
|
|
|
|
# Previous bugs have made the tests freeze until the timeout. Golang default
|
|
# timeout for tests is 10 minutes, which is too long, considering current tests
|
|
# can be executed in less than 1 second. Reduce the timeout, so problems can
|
|
# be noticed earlier in the CI.
|
|
TEST_TIMEOUT=10s
|
|
|
|
test:
|
|
go test -v -timeout $(TEST_TIMEOUT)
|
|
|
|
lint:
|
|
@$(if $(shell which golint),true,$(error "install golint and include it in your PATH"))
|
|
golint -set_exit_status
|