16 lines
655 B
YAML
16 lines
655 B
YAML
name: Validate Markdown Format
|
|
on:
|
|
push:
|
|
workflow_dispatch:
|
|
|
|
jobs:
|
|
Validate-Recipes:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Checkout repository
|
|
uses: actions/checkout@v7
|
|
- name: Download & unzip schematter # once releases become more stable, unpin from specific version
|
|
run: wget https://github.com/iwe-org/schematter/releases/download/schematter-v0.2.0/schematter-v0.2.0-x86_64-unknown-linux-gnu.tar.gz && tar -xvzf schematter-v0.2.0-x86_64-unknown-linux-gnu.tar.gz
|
|
- name: Validate markdown
|
|
run: find recipes -name '*.md' -print0 | xargs -0 ./schematter validate --schema recipes/recipe-schema.yml
|