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

This commit is contained in:
gyt
2026-07-09 13:57:28 -04:00
parent 0a99bb74bd
commit bb4db0adbc
+21
View File
@@ -0,0 +1,21 @@
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: Python syntax check
run: |
for f in $(find . -name "*.py" -not -path "./venv/*" -not -path "./.git/*"); do
python3 -m py_compile "$f" 2>/dev/null && echo "OK: $f" || echo "SKIP: $f"
done
- name: Shell check
run: |
for f in $(find . -name "*.sh"); do
bash -n "$f" && echo "OK: $f" || echo "FAIL: $f"
done
- name: Docker check
run: docker --version && echo "Docker available"