Compare commits
2 Commits
Author | SHA1 | Date | |
---|---|---|---|
6b53431bf1
|
|||
fba4800284
|
@@ -6,6 +6,14 @@ CMD=$*
|
||||
# Just ensure we have PATH defined properly.
|
||||
PATH="${PATH}:/usr/bin/:/usr/sbin/:/bin/:/usr/local/bin/:/opt/bin/"
|
||||
|
||||
# Also make sure that Go's environment variables are set.
|
||||
export GOCACHE=/home/container/go/build
|
||||
export GOMODCACHE=/home/container/go/pkg/mod
|
||||
export GOPATH=/home/container/go
|
||||
|
||||
# ...and golangci-lint also!
|
||||
export GOLANGCI_LINT_CACHE=/home/container/golangci-lint
|
||||
|
||||
if [ "${CMD}" == "" ]; then
|
||||
CMD="${INPUT_COMMAND}"
|
||||
fi
|
||||
|
Reference in New Issue
Block a user