update max k8s versions and remove depreciated api usage in local dep… #20
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: "Typing Check" | |
on: | |
pull_request: | |
paths: | |
- ".github/workflows/typing.yaml" | |
- "src/**" | |
- "pyproject.toml" | |
push: | |
branches: | |
- main | |
- develop | |
- release/\d{4}.\d{1,2}.\d{1,2} | |
paths: | |
- ".github/workflows/typing.yaml" | |
- "src/**" | |
- "pyproject.toml" | |
jobs: | |
typing-check: | |
runs-on: ubuntu-latest | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }} | |
cancel-in-progress: true | |
steps: | |
- name: "Checkout Repository" | |
uses: actions/checkout@v3 | |
with: | |
fetch-depth: 0 | |
- name: Setup Python | |
uses: actions/setup-python@v4 | |
with: | |
python-version: "3.11" | |
cache: "pip" | |
- name: Install Nebari and type stubs | |
run: | | |
python --version | |
pip install -e .[dev] | |
pip install types-Pygments types-requests types-six | |
- name: Run MyPy | |
continue-on-error: true | |
run: | | |
mypy |