-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathTaskfile.yaml
More file actions
30 lines (29 loc) · 793 Bytes
/
Taskfile.yaml
File metadata and controls
30 lines (29 loc) · 793 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
#schema: https://taskfile.dev/schema.json
version: '3.17'
tasks:
lint:
desc: Run lint with auto-fix where possible (dev workflow)
cmds:
- golangci-lint run --fix
- go tool license-eye header fix
lint:ci:
desc: Run lint checks without auto-fix (CI workflow)
cmds:
- golangci-lint run
- go tool license-eye header check
# govulncheck moved to `task vuln` — observation, not a gate (see devlog #8)
vuln:
desc: Run vulnerability check (observation, not a gate)
cmds:
- go tool govulncheck ./...
test:
desc: Run tests
cmds:
- go test ./... -v
- go test ./... -v -run=NONE -bench=. -benchmem
generate:
desc: Fix license headers
aliases:
- gen
cmds:
- go tool license-eye header fix