chore: update to be compatible with all minor Go updates

This commit is contained in:
ag-wnl
2025-03-15 15:26:09 +05:30
parent a9c4c1f8af
commit 16bf3f6ae3

View File

@@ -48,7 +48,7 @@ all: check_go_version sif
check_go_version:
@echo "$$COPYRIGHT_ASCII"
@echo "🔍 Checking Go version..."
@$(GO) version | grep -E "go1\.(23|24|25)\." || (echo "❌ Error: Unsupported Go version. Install Go 1.23 or later." && exit 1)
@$(GO) version | grep -E "go1\.[2-9][0-9]*\." || (echo "❌ Error: Please install the latest version of Go" && exit 1)
@echo "✅ Go version check passed!"
sif: check_go_version