ci: add python syntax-check gate before Nix deploy

This commit is contained in:
asepharyana
2026-08-03 13:37:29 +07:00
parent 86ff584b15
commit eb97e020dd
+11
View File
@@ -17,7 +17,18 @@ env:
VPS_USER: ${{ secrets.VPS_USER }}
jobs:
syntax-check:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v7
- name: Python syntax check
run: |
python3 -m py_compile run_server.py auto_merge_bot.py callback_server.py setup_app.py setup_all.py generate_manifest.py generate_manifest_domain.py start_server.py
build-and-deploy:
needs: syntax-check
runs-on: ubuntu-latest
steps:
- name: Checkout