name: CI on: push: branches: - main pull_request: branches: - main workflow_dispatch: jobs: lint-and-compile: # Prefer local Gitea runner labels to avoid pending/cancelled jobs. runs-on: self-hosted timeout-minutes: 15 steps: - name: Show environment run: | pwd ls -la python3 --version - name: Install dependencies run: | python3 -m pip install --upgrade pip python3 -m pip install -r requirements.txt - name: Compile Python files run: | python3 -m py_compile app/*.py