Skip to content

Commit

Permalink
dev: add tools
Browse files Browse the repository at this point in the history
  • Loading branch information
joaofnds committed Feb 9, 2024
1 parent cbcb7ab commit 4a2335a
Showing 1 changed file with 8 additions and 7 deletions.
15 changes: 8 additions & 7 deletions .mise.toml
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
[tools]
gitleaks = "8.18.2"
go = "1.22.0"
golangci-lint = "1.56.0"
k6 = "0.49.0"

[env]
CONFIG_PATH = "{{config_root}}/config/config.yaml"

Expand All @@ -23,12 +29,7 @@ run = "go build -o migrate ./cmd/migrate"
outputs = ["migrate"]

[tasks.clean]
run = [
"rm -f app",
"rm -f worker",
"rm -f migrate",
"go clean -cache -testcache -fuzzcache",
]
run = ["rm -f app worker migrate", "go clean -cache -testcache -fuzzcache"]

[tasks.lint]
run = "golangci-lint run"
Expand All @@ -40,7 +41,7 @@ run = "hadolint Dockerfile"
run = "goimports -w ."

[tasks.gitleaks]
run = "gitleaks detect ."
run = "gitleaks detect ."

[tasks.test-load]
run = "k6 run test/k6/load-test.js"

0 comments on commit 4a2335a

Please sign in to comment.