blog.ari.lt/.github/workflows/spt.yml

31 lines
666 B
YAML
Raw Normal View History

name: Static python type-checking
on:
push:
branches: [main]
pull_request:
branches: [main]
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 mypy
run: |
pip install mypy
- name: Run mypy
run: |
mypy scripts/blog