31 lines
514 B
YAML
31 lines
514 B
YAML
|
name: Checks
|
||
|
|
||
|
on:
|
||
|
pull_request:
|
||
|
push:
|
||
|
branches:
|
||
|
- stable
|
||
|
- dev
|
||
|
|
||
|
jobs:
|
||
|
mypy:
|
||
|
runs-on: ubuntu-latest
|
||
|
|
||
|
steps:
|
||
|
- name: Checkout repository
|
||
|
uses: actions/checkout@v2
|
||
|
|
||
|
- name: Set up Python
|
||
|
uses: actions/setup-python@v2
|
||
|
with:
|
||
|
python-version: 3.10
|
||
|
|
||
|
- name: Install dependencies
|
||
|
run: |
|
||
|
python -m pip install --upgrade pip
|
||
|
pip install -r .github/workflows/requirements.txt
|
||
|
|
||
|
- name: Run MyPy
|
||
|
run: |
|
||
|
python -m mypy .
|