Files
recipes/.gitea/workflows/validate-cooklang.yml
T
2026-06-02 09:35:09 -04:00

26 lines
639 B
YAML

# Validates that all .cook files in this repository are valid Cooklang recipes.
# Uses cookcli (https://hub.docker.com/r/inigochoa/cookcli) via Podman.
name: Validate Cooklang
on:
push:
branches: [main, master]
pull_request:
branches: [main, master]
jobs:
validate:
runs-on: ubuntu-latest
container:
type: podman
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Validate all .cook files
run: |
podman run --rm \
-v "$(pwd):/recipes:ro" \
docker.io/inigochoa/cookcli \
cook doctor validate -b /recipes --strict