reformat and reorganize recipes & add schema validation on push
Validate Markdown Format / Validate-Recipes (push) Successful in 4s
Validate Markdown Format / Validate-Recipes (push) Successful in 4s
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
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
|
||||
Reference in New Issue
Block a user