mirror of
https://github.com/RYGhub/royalnet.git
synced 2024-11-27 13:34:28 +00:00
21 lines
402 B
YAML
21 lines
402 B
YAML
|
name: Syntax check
|
||
|
|
||
|
on:
|
||
|
push:
|
||
|
branches: [ master ]
|
||
|
pull_request:
|
||
|
branches: [ master ]
|
||
|
|
||
|
jobs:
|
||
|
check:
|
||
|
runs-on: ubuntu-latest
|
||
|
steps:
|
||
|
- name: Checkout the repository
|
||
|
uses: actions/checkout@v2
|
||
|
- name: Install Python 3.8
|
||
|
uses: actions/setup-python@v2
|
||
|
with:
|
||
|
python-version: '3.8'
|
||
|
- name: Check all .py files
|
||
|
run: python -m compileall royalnet
|