Update .forgejo/workflows/check-syntax.yml
This commit is contained in:
parent
ca3c188945
commit
122f31c04d
1 changed files with 5 additions and 2 deletions
|
@ -1,8 +1,11 @@
|
||||||
name: Check syntax
|
name: Check syntax
|
||||||
on: [push,workflow_dispatch]
|
on: [push,pull_request,workflow_dispatch]
|
||||||
jobs:
|
jobs:
|
||||||
check:
|
check:
|
||||||
runs-on: debian-latest
|
runs-on: alpine
|
||||||
steps:
|
steps:
|
||||||
|
- uses: https://git.swee.codes/swee/setup-alpine@main
|
||||||
|
with:
|
||||||
|
additional: python3
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
- run: python -m py_compile server.py
|
- run: python -m py_compile server.py
|
Loading…
Add table
Reference in a new issue