Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ci: check metadata.toml files #2061

Open
ee7 opened this issue Jun 16, 2022 · 0 comments
Open

ci: check metadata.toml files #2061

ee7 opened this issue Jun 16, 2022 · 0 comments

Comments

@ee7
Copy link
Member

ee7 commented Jun 16, 2022

The prob-specs ci.yml workflow checks Markdown and JSON files, but not the metadata.toml files.

In the hopefully-unlikely event that a strictly invalid metadata.toml file reaches main, configlet sync would produce an error to complain about the invalid TOML when the syncing scope includes metadata.

We could check that:

  • every exercise has a metadata.toml file
  • with a valid title key/value pair
  • with a valid blurb key/value pair
  • if the source key is present, the value is valid
  • if the source_url key is present, the value is valid
  • there is no other key/value pair (it may be a typo of source or source_url, like source-url)
@ee7 ee7 changed the title ci: lint metadata.toml files ci: check metadata.toml files Oct 11, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant