From a487d2410b485fe5234ab3066620f2fb999bdd1d Mon Sep 17 00:00:00 2001 From: Martin Kagamino Lehoux Date: Tue, 11 Aug 2026 15:41:21 +0200 Subject: chore: Add code analysis task --- .mise.toml | 5 +++++ 1 file changed, 5 insertions(+) (limited to '.mise.toml') diff --git a/.mise.toml b/.mise.toml index a6e65cb..6c64293 100644 --- a/.mise.toml +++ b/.mise.toml @@ -1,4 +1,5 @@ [tools] +"github:boyter/dcd" = "1.1.0" go = "1.25.12" watchexec = "latest" @@ -19,6 +20,10 @@ run = "go vet ./... && go test ./..." description = "Build the application" run = "go build -o biking_home ." +[tasks.code-analysis] +description = "Run code analysis tools" +run = "dcd -i go -x '_test.go,templates_templ.go' -m 8 ." + [tasks.migrate] description = "Apply SQLite migrations" run = "DATABASE_URL=sqlite:biking_home.db go tool dbmate up" -- cgit v1.2.3