Skip to content

Commit

Permalink
Add type check workflow.
Browse files Browse the repository at this point in the history
  • Loading branch information
0x24a committed Sep 15, 2024
1 parent 798477f commit 06bafc2
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions .github/workflows/mypy-check.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: Mypy Type Check

on:
push:
branches: [ main ]
pull_request:
branches: [ main ]

jobs:
type-check:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: '3.x'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
pip install mypy
- name: Run mypy
run: mypy .

0 comments on commit 06bafc2

Please sign in to comment.