exercism / exercism/problem-specifications

ci: check `metadata.toml` files

Ouverte
#2,061 0 commentaires 0 réactions 0 personnes assignées Voir sur GitHub
Langage dominant
Ruby
Étoiles
358
Forks
563
Merge moyen
18 h 41 min
PR mergées (30 j)
2

Description

The prob-specs [`ci.yml`](https://github.com/exercism/problem-specifications/commit/514d1dbb549dde4712d38f2c230604c0bbc39141) 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`)

Guide de contribution

Aucun guide de contribution indexé pour ce dépôt

Évaluation

Cette issue n'a pas encore été évaluée.

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.