[pre-commit.ci] pre-commit autoupdate #9
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: checks | |
on: | |
push: | |
branches: | |
- master | |
pull_request: | |
branches: | |
- master | |
jobs: | |
mypy: | |
runs-on: ubuntu-latest | |
strategy: | |
fail-fast: false | |
matrix: | |
python: [3.7, 3.8, 3.9] | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v1 | |
- name: Set up Python | |
uses: actions/setup-python@v1 | |
- name: Install mypy | |
run: | | |
pip install --upgrade pip | |
pip install mypy | |
mypy --version | |
- name: Install dependencies | |
run: pip install tornado webruntime | |
- name: Run mypy | |
run: mypy --python-version ${{ matrix.python }} -p dominator | |
pre-commit: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v2 | |
- name: Setup Python | |
uses: actions/setup-python@v2 | |
with: | |
python-version: 3.7 | |
- name: Run pre-commit | |
uses: pre-commit/action@v2.0.0 |