-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtaskfile.yaml
More file actions
44 lines (34 loc) · 763 Bytes
/
taskfile.yaml
File metadata and controls
44 lines (34 loc) · 763 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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
---
version: "3"
tasks:
lint:
cmds:
- "pre-commit run --all-files"
test:
cmds:
- "go test ./..."
run:
cmds:
- "go run main.go {{ .CLI_ARGS }}"
run-generate:
cmds:
- "go run main.go generate --repoUrl gitlab.com/erNail/labdoc {{ .CLI_ARGS }}"
build:
cmds:
- "go build -o dist/"
build-image:
cmds:
- "ko build --platform all --local"
test-release-goreleaser:
cmds:
- "goreleaser release --snapshot --clean"
test-release-semantic-release:
cmds:
- "semantic-release --dry-run"
test-version-ldflags:
cmds:
- "go run -ldflags '-s -w -X github.com/erNail/labdoc/cmd.version=v1.2.3' main.go --version"
test-github-actions:
cmds:
- "act"
...