mirror of
https://github.com/paul-nameless/tg
synced 2024-11-22 20:03:17 +00:00
33 lines
587 B
YAML
33 lines
587 B
YAML
name: CI
|
|
|
|
on:
|
|
push:
|
|
branches: [ master ]
|
|
pull_request:
|
|
branches: [ master ]
|
|
|
|
jobs:
|
|
|
|
build:
|
|
|
|
runs-on: ubuntu-latest
|
|
strategy:
|
|
matrix:
|
|
python-version: [3.8]
|
|
|
|
steps:
|
|
|
|
- uses: actions/checkout@v2
|
|
|
|
- name: Set up Python ${{ matrix.python-version }}
|
|
uses: actions/setup-python@v1
|
|
with:
|
|
python-version: ${{ matrix.python-version }}
|
|
|
|
- name: Install tools
|
|
run: |
|
|
pip install black==20.8b1 mypy==0.790 isort==5.6.2 flake8==8-3.8.4
|
|
|
|
- name: Check formatting and run linters
|
|
run: |
|
|
sh check.sh
|