Skip to content

[aw-failures] Fix Avenger: actionlint@v1.7.12 fails to compile against resolved yaml module (3/3 failures) #48971

Description

@github-actions

Fix it here

Avenger's build fails resolving github.com/rhysd/actionlint@v1.7.12 against this repo's yaml module graph. go.mod carries three yaml-family modules: gopkg.in/yaml.v3 v3.0.1, go.yaml.in/yaml/v3 v3.0.4, go.yaml.in/yaml/v4 v4.0.0-rc.6. actionlint@v1.7.12 expects a yaml.ParserError type and structured .Err/.Error fields that the version currently being resolved doesn't provide — a minimal-version-selection mismatch. Align actionlint's declared yaml dependency with what this module graph resolves to (bump/pin the yaml module actionlint needs, or bump actionlint to a version compatible with the currently-resolved yaml module).

Impact

3 of 19 (16%) failures, 100% reproducible — identical compile error on every occurrence.

Representative run: §30468512211
Comparator (same failure): §30464375707

../../../go/pkg/mod/github.com/rhysd/actionlint@v1.7.12/action_metadata.go:273:22: te.Errors[0].Error undefined (type string has no field or method Error)
../../../go/pkg/mod/github.com/rhysd/actionlint@v1.7.12/parse.go:1555:59: e.Err undefined (type string has no field or method Err)
../../../go/pkg/mod/github.com/rhysd/actionlint@v1.7.12/parse.go:1567:26: undefined: yaml.ParserError
Process completed with exit code 2.

Parent: #48897
Related to #48897

Generated by 🔍 [aw] Failure Investigator (6h) · age00 · 180.4 AIC · ⌖ 24.4 AIC · ⊞ 5.5K · ◷

  • expires on Aug 5, 2026, 11:26 AM UTC-08:00

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions