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 |
version: "3"
dotenv:
- ".env"
includes:
migrate: ./migrations/Taskfile.yml
tasks:
build:
- go build -o .bin/onasty ./cmd/server/
run:
- task: build
- .bin/onasty
lint:
- golangci-lint run
docker:up:
- docker compose up -d
docker:down:
aliases: [docker:stop]
cmds:
- docker compose stop
test:
- task: test:unit
- task: test:e2e
test:unit:
- go test -v --short ./...
test:e2e:
- go test -v ./e2e/
|