Check workflow files parse in CI
CI / build (push) Successful in 16s

Gitea rejects an unparsable workflow without running anything, which
for release.yml only surfaces when a tag is pushed. Parsing them all in
CI catches it on master first.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Mateusz PstruchaandClaude Opus 5.5 committed 2026-10-02 21:08:35 +02:00
1 parent 0f0e809940
commit 77f15ed7c3
1 file changed
+12
+12
View File
@@ -19,6 +19,18 @@ jobs:
- name: Check out source
uses: actions/checkout@v4
# Gitea rejects a workflow file it can't parse without running
# anything, which for release.yml only shows up when a tag is pushed.
# Parsing them all here catches that on master, before tagging.
- name: Check workflow files parse
run: |
python3 - <<'PY'
import glob, yaml
for f in sorted(glob.glob(".gitea/workflows/*.yml")):
yaml.safe_load(open(f))
print("ok", f)
PY
- name: Set up Node.js
uses: actions/setup-node@v4
with: