mirror of
https://github.com/opencloud-eu/opencloud.git
synced 2026-01-06 04:09:40 -06:00
Bumps [github.com/go-playground/validator/v10](https://github.com/go-playground/validator) from 10.17.0 to 10.18.0. - [Release notes](https://github.com/go-playground/validator/releases) - [Commits](https://github.com/go-playground/validator/compare/v10.17.0...v10.18.0) --- updated-dependencies: - dependency-name: github.com/go-playground/validator/v10 dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com>
18 lines
399 B
Makefile
18 lines
399 B
Makefile
GOCMD=go
|
|
|
|
linters-install:
|
|
@golangci-lint --version >/dev/null 2>&1 || { \
|
|
echo "installing linting tools..."; \
|
|
curl -sfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh| sh -s v1.41.1; \
|
|
}
|
|
|
|
lint: linters-install
|
|
golangci-lint run
|
|
|
|
test:
|
|
$(GOCMD) test -cover -race ./...
|
|
|
|
bench:
|
|
$(GOCMD) test -run=NONE -bench=. -benchmem ./...
|
|
|
|
.PHONY: test lint linters-install |