tg/.github/workflows/main.yml
2021-04-23 20:39:38 +03:00

33 lines
557 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 poetry && poetry install
- name: Check formatting and run linters
run: |
sh check.sh