ci: add workflow
CI / check (push) Successful in 54s

This commit is contained in:
gyt
2026-07-09 13:57:14 -04:00
parent 84c6663e4d
commit c648e96c3f
+20
View File
@@ -0,0 +1,20 @@
name: CI
on: [push]
jobs:
check:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with: { python-version: "3.12" }
- name: Syntax check
run: |
for f in $(find . -name "*.py" -not -path "./download/*"); do
python3 -m py_compile "$f" && echo "OK: $f" || echo "FAIL: $f"
done
- name: Config validation
run: |
for f in $(find . -name "*.toml" -o -name "*.cfg"); do
echo "Config: $f"
cat "$f" | head -5
done