Merge pull request #177 from Decompollaborate/develop #558
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Check mypy | |
# Build on every branch push, tag push, and pull request change: | |
on: [push, pull_request] | |
jobs: | |
checks: | |
runs-on: ubuntu-latest | |
name: mypy | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
- name: Set up Python 3.9 | |
uses: actions/setup-python@v5 | |
with: | |
python-version: '3.9' | |
- name: Setup venv | |
run: | | |
python3 -m venv .venv | |
- name: Install Dependencies | |
run: | | |
. .venv/bin/activate | |
python3 -m pip install -U -r requirements.txt | |
python3 -m pip install -U mypy | |
- name: mypy | |
run: | | |
. .venv/bin/activate | |
mypy --show-column-numbers --hide-error-context . |