ci: initial ci config

This commit is contained in:
Alexandre Teles
2023-04-29 18:46:36 -03:00
committed by Alexandre Teles (afterSt0rm)
parent 856fc66717
commit aaadcbe853
5 changed files with 143 additions and 0 deletions

26
.github/workflows/mypy.yml vendored Normal file
View File

@@ -0,0 +1,26 @@
name: MyPy
on:
pull_request:
branches: [ "dev" ]
workflow_dispatch:
jobs:
mypy:
runs-on: ubuntu-latest
steps:
- name: Setup Python
uses: actions/setup-python@v4
with:
python-version: 3.11.3
architecture: x64
- name: Checkout
uses: actions/checkout@v3
- name: Install mypy
run: pip install mypy
- name: Run mypy
uses: sasanquaneuf/mypy-github-action@main
with:
checkName: 'mypy'
env:
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}