mirror of
https://github.com/containers/podman.git
synced 2025-11-30 01:58:46 +08:00
Bumps [github.com/opencontainers/runc](https://github.com/opencontainers/runc) from 1.1.2 to 1.1.3. - [Release notes](https://github.com/opencontainers/runc/releases) - [Changelog](https://github.com/opencontainers/runc/blob/v1.1.3/CHANGELOG.md) - [Commits](https://github.com/opencontainers/runc/compare/v1.1.2...v1.1.3) --- updated-dependencies: - dependency-name: github.com/opencontainers/runc dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com>
32 lines
580 B
Makefile
32 lines
580 B
Makefile
# libseccomp-golang
|
|
|
|
.PHONY: all check check-build check-syntax fix-syntax vet test lint
|
|
|
|
all: check-build
|
|
|
|
check: lint 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:
|
|
golangci-lint run .
|