antlr / grammars-v4

Grammars written for ANTLR v4; expectation that the grammars are free of actions.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[build] CI badge says build "passing" but it actually failed

kaby76 opened this issue · comments

This line does not work.

![CI](https://github.com/antlr/grammars-v4/workflows/CI/badge.svg)

The readme.md is no longer following the syntax for workflow badges. See the doc. https://docs.github.com/en/actions/monitoring-and-troubleshooting-workflows/adding-a-workflow-status-badge . I have no idea when all this changed, which explains to some extent why the badge is not working. Testing a fix on my own repo.

For grammars-v4, at this momemt, 6:42 PM UTC, this invalid link shows ok: https://github.com/antlr/grammars-v4/workflows/CI/badge.svg . But, this link--which is the correct link according to the doc--shows failed: https://github.com/antlr/grammars-v4/actions/workflows/main.yml/badge.svg . The actual result should be fail, because the last build on main is fail.