blog.ari.lt/.github/workflows/spt.yml
Ari Archer 17d1491976
update @ Fri 11 Mar 17:47:54 EET 2022
Signed-off-by: Ari Archer <ari.web.xyz@gmail.com>
2022-03-11 17:47:54 +02:00

30 lines
666 B
YAML

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