← Back to issue list

Run YAML validity/schema linters before `snapcraft`

View original Github issue

Metadata

Project
snapcraft-rocks
Number
#58
Type
issue
State
open
Author
abitrolly
Labels
Created
2024-09-24 14:26:25+00:00
Updated
2024-09-27 05:15:50+00:00
Closed

Current evaluation

No evaluation has been recorded for this issue yet.

Issue body

To avoid strange errors, because of typos and general inability to remember documentation, it would be nice to run YAML structure linters before `snapcraft`. Docs mention that `snapcraft` runs embedded linters https://snapcraft.io/docs/linters but they don't catch some low level errors like absent `base:` key (https://github.com/canonical/snapcraft-rocks/issues/57#issuecomment-2370937598). EDIT: And troubleshooting such silly mistakes can steal a lot of time.

Evaluation history

No evaluation history available.