1
Fork 0
mirror of https://github.com/RYGhub/royalnet.git synced 2024-11-23 19:44:20 +00:00
royalnet/.github/workflows/check.yml

24 lines
608 B
YAML

name: Syntax check
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
check:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v2
with:
python-version: '3.8'
- name: Check commands
run: python -m py_compile royalpack/commands/__init__.py
- name: Check events
run: python -m py_compile royalpack/events/__init__.py
- name: Check stars
run: python -m py_compile royalpack/stars/__init__.py
- name: Check tables
run: python -m py_compile royalpack/tables/__init__.py