Annotation matcher can not match column ranges
Maintainers usually reply within 5 days
Nobody has claimed this yet.
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 45/100
- Issue type
- Bug
- Clarity
- Clearly specified
- Activity status
- Stale
- Tech stack
- github-actions
- Domain
- ci-cd
Research direction
Start with matchers.json and inspect the annotation matcher regex against the gopls output shown in the linked sample run. Verify that column ranges containing a hyphen are detected as error annotations, while existing lines without a hyphen continue to match.
Written by the indexing model from the issue text.
Description
Description:
Tools like gopls check <files> can output line column ranges but the matcher installed by this action can not match them.
This action can not match these column ranges because the - character is not included in the regex ^\\s*(.+\\.go):(?:(\\d+):(\\d+):)? (.*). All such lines in this sample run should trigger a error annotation, but currently ones ones without a - trigger it:
Action version:
v5.0.0
Platform:
all
Runner type:
all
Tools version:
all
Repro steps:
https://github.com/go-gitea/gitea/actions/runs/8883003671/job/24388906594
Expected behavior:
Lines with - in the column field to be detected as error annotation.
Actual behavior:
Only lines without - in the column are detected as error annotation.
- Dominant language
- TypeScript
- Stars
- 1.8k
- Forks
- 684
- Avg merge
- 12d 23h
- Merged PRs (30d)
- 3
Getting set up
- No Dockerfile or Docker Compose file
- Has a pull request template
- No contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from actions/setup-go
-
Provide an option to skip the Go SDK tool-cache write for ephemeral / parallel self-hosted runnersOpenfeature request
Difficulty 3/5 1-2 days Newbie friendliness 72/100
actions/setup-go#792 · 4 comments ·
Maintainers usually reply within 5 days
-
feature request
Difficulty 4/5 3-5 days Newbie friendliness 45/100
actions/setup-go#757 · 2 comments ·
Maintainers usually reply within 5 days
-
feature request
Difficulty 3/5 1-2 days Newbie friendliness 55/100
actions/setup-go#749 · 2 comments ·
Maintainers usually reply within 5 days
-
feature request
Difficulty 3/5 1-2 days Newbie friendliness 58/100
actions/setup-go#746 · 8 comments ·
Maintainers usually reply within 5 days
-
go-version-file does not parse .mod files other than go.modPossibly taken @kaovilai claimed this 239 days ago. Openfeature request
Difficulty 2/5 1-3 hours Newbie friendliness 48/100
actions/setup-go#736 · 1 comment · 1 reaction ·
Maintainers usually reply within 5 days
All issues in actions/setup-go
Similar issues
-
db-d1-sqlite: upsert is aliased to updateOne, so payload.kv.set never inserts new keysPossibly taken @pcbeingused333 claimed this today. OpenBug db: d1-sqlite Payload OSS
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
payloadcms/payload#19766 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
device-management-toolkit/sample-web-ui#3711 ·
Maintainers usually reply within 1 day
-
bug impact:low Team: SecuritySolution Team:Defend Workflows v9.6.0
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
elastic/kibana#306401 · 3 comments ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
agentes-chat/agentes-chat#927 ·
Maintainers usually reply within 1 day
-
Closing a pinned tab jumps to the Tabs section instead of the next open pinned tabPossibly taken @seenimohamed claimed this today. Openbug
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
ardia-browser/ardia#2769 ·
Maintainers usually reply within 1 day