more fucking import fixes
Some checks are pending
CI Pipeline / Run Tests (push) Waiting to run
CI Pipeline / Lint Code (push) Waiting to run
CI Pipeline / Security Scan (push) Waiting to run
CI Pipeline / E2E Tests (push) Blocked by required conditions

This commit is contained in:
Enki 2025-08-27 15:37:30 -07:00
parent 79af79bf0d
commit 13c50cce17

View File

@ -232,10 +232,9 @@ else
echo 'export PATH=/usr/local/go/bin:$PATH' >> /etc/profile
fi
# Add to current shell
if ! echo $PATH | grep -q "/usr/local/go/bin"; then
export PATH=/usr/local/go/bin:$PATH
fi
# Update PATH for current session and all subprocesses
export PATH=/usr/local/go/bin:$PATH
hash -r # Clear bash's command cache
echo "✅ Go $LATEST_GO_VERSION installed"
fi
@ -259,6 +258,17 @@ if [ "$SKIP_BUILD" = false ]; then
# Fix Go module dependencies
echo "📦 Updating Go module dependencies..."
# Debug: show Go environment
echo "DEBUG: Go version: $(go version)"
echo "DEBUG: GOPATH: ${GOPATH:-'not set'}"
echo "DEBUG: GOROOT: $(go env GOROOT)"
echo "DEBUG: Current module: $(go list -m)"
echo "DEBUG: Working directory: $(pwd)"
# Force Go to use module mode
export GO111MODULE=on
go mod tidy
# Install Go dependencies