more fucking 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 14:49:08 -07:00
parent d947370dd2
commit c764c56cfc

View File

@ -182,9 +182,9 @@ apt-get install -y \
# Install latest stable Go version # Install latest stable Go version
echo "📦 Checking for latest Go version..." echo "📦 Checking for latest Go version..."
LATEST_GO_VERSION=$(curl -s https://golang.org/VERSION?m=text 2>/dev/null) LATEST_GO_VERSION=$(curl -s https://go.dev/VERSION?m=text 2>/dev/null | grep -E '^go[0-9]+\.[0-9]+(\.[0-9]+)?$')
if [ -z "$LATEST_GO_VERSION" ]; then if [ -z "$LATEST_GO_VERSION" ]; then
echo "❌ Failed to get latest Go version from golang.org" echo "❌ Failed to get latest Go version from go.dev"
echo "📦 Trying alternative method..." echo "📦 Trying alternative method..."
LATEST_GO_VERSION=$(curl -s "https://api.github.com/repos/golang/go/releases/latest" | grep '"tag_name":' | sed -E 's/.*"([^"]+)".*/\1/' 2>/dev/null) LATEST_GO_VERSION=$(curl -s "https://api.github.com/repos/golang/go/releases/latest" | grep '"tag_name":' | sed -E 's/.*"([^"]+)".*/\1/' 2>/dev/null)
fi fi