diff --git a/.forgejo/workflows/check-syntax.yml b/.forgejo/workflows/check-syntax.yml index d966832..d918313 100644 --- a/.forgejo/workflows/check-syntax.yml +++ b/.forgejo/workflows/check-syntax.yml @@ -1,8 +1,11 @@ name: Check syntax -on: [push,workflow_dispatch] +on: [push,pull_request,workflow_dispatch] jobs: check: - runs-on: debian-latest + runs-on: alpine steps: + - uses: https://git.swee.codes/swee/setup-alpine@main + with: + additional: python3 - uses: actions/checkout@v4 - run: python -m py_compile server.py \ No newline at end of file