tg/.github/workflows/main.yml

34 lines
557 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: |
pip install poetry && poetry install
- name: Check formatting and run linters
2020-05-19 21:03:54 +00:00
run: |
sh check.sh