Files
kubernetes/vendor/github.com/stretchr/objx/Taskfile.yml
David Ashpole e94047c900 Revert "update OpenTelemetry dependencies"
This reverts commit 82e9ce79c7.
2024-06-26 14:13:33 +00:00

31 lines
464 B
YAML

version: '2'
env:
GOFLAGS: -mod=vendor
tasks:
default:
deps: [test]
lint:
desc: Checks code style
cmds:
- gofmt -d -s *.go
- go vet ./...
silent: true
lint-fix:
desc: Fixes code style
cmds:
- gofmt -w -s *.go
test:
desc: Runs go tests
cmds:
- go test -race ./...
test-coverage:
desc: Runs go tests and calculates test coverage
cmds:
- go test -race -coverprofile=c.out ./...