Skip to content

Create python-publish.yml #6

Create python-publish.yml

Create python-publish.yml #6

Workflow file for this run

name: Mypy
on:
push:
paths:
- '.\loglan_core'
jobs:
mypy:
runs-on: ubuntu-latest
steps:
- name: Setup Python
uses: actions/setup-python@v1
with:
python-version: 3.10
architecture: x64
- name: Checkout
uses: actions/checkout@v1
- name: Install mypy
run:
python -m pip install -r requirements.txt
python -m pip install mypy
- name: Run mypy
uses: sasanquaneuf/mypy-github-action@releases/v1
with:
checkName: 'mypy' # NOTE: this needs to be the same as the job name
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}