checker/taskfile.yml
Onur Cinar 4a77e34c92
Doc automation. (#126)
# Describe Request

Doc automation.

# Change Type

Doc update.
2024-10-29 21:10:40 -07:00

33 lines
624 B
YAML

version: '3'
output: 'prefixed'
tasks:
default:
cmds:
- task: fmt
- task: lint
- task: test
- task: docs
action:
deps: [lint, test]
fmt:
cmds:
- go fix ./...
lint:
cmds:
- go vet ./...
- go run github.com/securego/gosec/v2/cmd/gosec@v2.20.0 ./...
- go run honnef.co/go/tools/cmd/staticcheck@v0.5.1 ./...
- go run github.com/mgechev/revive@v1.3.4 -config=revive.toml ./...
test:
cmds:
- go test -cover -coverprofile=coverage.out ./...
docs:
cmds:
- go run github.com/princjef/gomarkdoc/cmd/gomarkdoc@v1.1.0 -e ./...