Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/validate-go-version.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,15 +30,15 @@ jobs:
# Check all go.mod files
echo ""
echo "Checking go.mod files..."
for f in $(find cli/azd -name 'go.mod'); do
while IFS= read -r -d '' f; do
VERSION=$(grep -m1 '^go ' "$f" | awk '{print $2}')
if [ "$VERSION" != "$EXPECTED" ]; then
echo "::error file=$f::Go version mismatch: found '$VERSION', expected '$EXPECTED'"
ERRORS=$((ERRORS + 1))
else
echo " OK: $f ($VERSION)"
fi
done
done < <(find cli/azd -name 'go.mod' -print0)

# Check ADO pipeline template
echo ""
Expand Down