tg/.github/workflows/main.yml

34 lines
585 B
YAML
Raw Normal View History

name: CI
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
build:
runs-on: ubuntu-latest
2020-05-04 07:21:44 +00:00
strategy:
matrix:
2020-05-20 06:07:58 +00:00
python-version: [3.8]
steps:
- uses: actions/checkout@v2
2020-05-04 07:21:44 +00:00
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v1
with:
python-version: ${{ matrix.python-version }}
2020-05-19 21:03:54 +00:00
- name: Install tools
2020-05-04 07:21:44 +00:00
run: |
2020-10-10 14:21:43 +00:00
pip install black==20.8b1 mypy==0.790 isort==5.6.2 flake8==3.8.4
- name: Check formatting and run linters
2020-05-19 21:03:54 +00:00
run: |
sh check.sh