Skip to content

Commit

Permalink
fix: [#147] Ensure that GOBIN is set to avoid assuming its value
Browse files Browse the repository at this point in the history
  • Loading branch information
sbp-bvanb committed Dec 12, 2024
1 parent a57e904 commit 726dab3
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion Taskfile.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 726dab3

Please sign in to comment.