checker/taskfile.yml
Onur Cinar ed89bd2960
Moving to Task based build system. (#122)
# Describe Request

Moving to Task based build system.

# Change Type

Code maintenance.
2024-08-18 10:51:18 -07:00

28 lines
511 B
YAML

version: '3'
output: 'prefixed'
tasks:
default:
cmds:
- task: fmt
- task: lint
- task: test
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 ./...