mirror of
https://github.com/ReVanced/revanced-api.git
synced 2026-01-11 13:56:17 +00:00
27 lines
561 B
YAML
27 lines
561 B
YAML
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 }}
|