Skip to content

Instantly share code, notes, and snippets.

@juliojimenez
Last active September 15, 2023 03:17
Show Gist options
  • Save juliojimenez/2ed77aba69834d0db6c8f0cae18ddae2 to your computer and use it in GitHub Desktop.
Save juliojimenez/2ed77aba69834d0db6c8f0cae18ddae2 to your computer and use it in GitHub Desktop.
Mypy Type Checker GitHub Workflow
name: Type Checker
on:
push:
jobs:
type_checker:
name: Type Checker
runs-on: ubuntu-latest
steps:
- name: Checkout Code
uses: actions/checkout@v4
- name: Set Up Python
uses: actions/setup-python@v4
with:
python-version: '3.11'
- name: Install Dependencies
run: |
pip install -r requirements.txt
python3 -m pip install mypy
- name: Type Checker
run: mypy .
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment