Files
woodpecker/vendor/github.com/stretchr/objx/Taskfile.yml
6543 f92980839c Add securitycheck and bump deps where needed (#1745)
Address:
- github.com/docker/docker / github.com/containerd/containerd
- CVE-2022-23471, CVE-2023-25153, CVE-2023-25173, CVE-2023-28840,
CVE-2023-28841, CVE-2023-28842
- github.com/moby/moby
  - GHSA-vp35-85q5-9f25
- google.golang.org/protobuf
  - CVE-2023-24535, GHSA-hw7c-3rfg-p46j
2023-05-11 04:27:31 +02: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 ./...