Skip to content

feat: API rewrite

feat: API rewrite #44

Workflow file for this run

name: "MyPy | Static Type Checking"
on:
push:
branches: [dev, main]
pull_request:
types: [opened, reopened, edited, synchronize]
workflow_dispatch:
env:
default_branch: dev
jobs:
mypy:
name: mypy
runs-on: ubuntu-latest
permissions:
actions: read
contents: read
security-events: write
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: "3.11.4"
- name: Install project dependencies
run: |
python -m pip install --upgrade pip
if [ -f requirements.txt ];
then pip install -r requirements.txt;
fi
- name: Run mypy
uses: sasanquaneuf/mypy-github-action@main
with:
checkName: "mypy"
env:
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}