diff --git a/_tasks.hcl b/_tasks.hcl index ae970f33..aaa47687 100644 --- a/_tasks.hcl +++ b/_tasks.hcl @@ -8,12 +8,12 @@ task "install-deps" { task "tests" { description = "Run the test suite" command = "go test {{.files}}" - environment { + environment = { GOFLAGS = "-mod=vendor" } } -variables { +variables = { files = "$(go list -v ./... | grep -iEv \"tests|examples\")" }