mirror of
https://github.com/revanced/revanced-releases-api.git
synced 2025-04-29 22:14:28 +02:00
27 lines
548 B
YAML
27 lines
548 B
YAML
name: MyPy Type Checking
|
|
|
|
on:
|
|
push:
|
|
paths:
|
|
- '*.py'
|
|
|
|
jobs:
|
|
mypy:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Setup Python
|
|
uses: actions/setup-python@v4
|
|
with:
|
|
python-version: 3.11.0
|
|
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 }}
|