supabase-operator/magefiles/cleanup.go
Peter Kurfer 12090c913a
Some checks failed
E2E Tests / Run on Ubuntu (push) Failing after 20s
Lint / Run on Ubuntu (push) Failing after 3m45s
Tests / Run on Ubuntu (push) Failing after 16m8s
feat(db): prepare migrations and core CRD
2024-12-13 09:09:14 +01:00

23 lines
358 B
Go

package main
import "github.com/magefile/mage/mg"
func Validate() {
mg.Deps(Fmt, Lint)
}
func Fmt() error {
return RunTool(tools[Gofumpt], "-l", "-w", ".")
}
func Vet() error {
return Go("vet", "./...")
}
func Lint() error {
return RunTool(tools[GolangciLint], "run")
}
func LintFix() error {
return RunTool(tools[GolangciLint], "run", "--fix")
}