Run YAML validity/schema linters before `snapcraft`
Metadata
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.