kanidm/.github/workflows/pykanidm_mypy.yml
dependabot[bot] b34e0b05eb
Bump actions/setup-python from 2 to 4 (#900)
Bumps [actions/setup-python](https://github.com/actions/setup-python) from 2 to 4.
- [Release notes](https://github.com/actions/setup-python/releases)
- [Commits](https://github.com/actions/setup-python/compare/v2...v4)

---
updated-dependencies:
- dependency-name: actions/setup-python
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-07-05 17:40:37 +10:00

24 lines
588 B
YAML

name: pykanidm - mypy
"on":
push:
pull_request:
jobs:
pykanidm_mypy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0 # Fetch all history for .GitInfo and .Lastmod
- name: Set up Python 3.9
uses: actions/setup-python@v4
with:
python-version: '3.9'
- name: Running mypy
run: |
cd pykanidm
python --version
python -m pip install --quiet --no-cache-dir --upgrade poetry
poetry install
poetry run mypy --strict kanidm tests