-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathTaskFile.yml
More file actions
33 lines (31 loc) · 884 Bytes
/
TaskFile.yml
File metadata and controls
33 lines (31 loc) · 884 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
---
version: '3'
env:
ENV: '{{.ENV}}'
vars:
dotenv: ['.env.{{.ENV}}.aws', '.env.{{.ENV}}.terraform', '.env.{{.ENV}}.terragrunt']
includes:
precommit:
taskfile: ./taskfiles/taskfile.precommit.yml
tf:
taskfile: ./taskfiles/Taskfile.terraform.yml
golang:
taskfile: ./taskfiles/Taskfile.go.yml
tasks:
pc-init:
desc: Initialize and install required hooks
cmds:
- task: precommit:hooks-init
pc-run:
desc: Run all the hooks described in the .pre-commit-config.yaml file
cmds:
- task: precommit:hooks-run
go-ci:
desc: Execute all the go CI tasks in the pkg/root module.
dir: cli
cmds:
- task: golang:go-tidy
- task: golang:go-fmt
- task: golang:go-vet
- task: golang:go-lint
- task: golang:go-test