diff --git a/Taskfile.yml b/Taskfile.yml index 74b852d..863171d 100644 --- a/Taskfile.yml +++ b/Taskfile.yml @@ -12,7 +12,12 @@ vars: GCI: "{{.GOBIN}}/gci" GCI_SECTIONS: '{{.GCI_SECTIONS | default "-s standard -s default"}}' GCI_VERSION: 0.13.5 - GOBIN: ~/go/bin + GOBIN: + sh: | + if [ -z "${GOBIN}" ]; then + echo "GOBIN has not been not set. Ensure that it has been set on the system." + exit 1 + fi GOFUMPT_VERSION: v0.7.0 GOLANGCI_LINT_VERSION: 1.61.0 GOLANG_PARALLEL_TESTS: