Skip to content

Merge pull request #5 from pt1243/check-github-ref #39

Merge pull request #5 from pt1243/check-github-ref

Merge pull request #5 from pt1243/check-github-ref #39

Workflow file for this run

name: Type check
on:
workflow_dispatch:
pull_request:
push:
branches:
- main
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
typecheck:
runs-on: ubuntu-latest
name: Type check
steps:
- uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: 3.11
cache: 'pip'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install tox
- name: Type check with mypy (through tox)
run: tox -e type_check