All checks were successful
Bandit / audit-runtime-security (3.11) (pull_request) Successful in 10m5s
Flake8 / audit (3.11) (pull_request) Successful in 10m2s
Mypy / audit-typing (3.11) (pull_request) Successful in 11m3s
pip-audit / audit-dependency-security (3.11) (pull_request) Successful in 11m14s
Pylint / audit-runtime-security (3.11) (pull_request) Successful in 10m19s
37 lines
840 B
YAML
37 lines
840 B
YAML
---
|
|
name: Mypy
|
|
on:
|
|
push:
|
|
branches: [main]
|
|
pull_request:
|
|
branches: [main]
|
|
|
|
# XXX need to do stuff with uv
|
|
jobs:
|
|
audit-typing:
|
|
runs-on: ubuntu-latest
|
|
strategy:
|
|
matrix:
|
|
python-version:
|
|
- "3.11"
|
|
steps:
|
|
- name: Checkout repository
|
|
uses: actions/checkout@v4
|
|
|
|
- name: Set up Python
|
|
uses: actions/setup-python@v4
|
|
with:
|
|
python-version: '${{ matrix.python-version }}'
|
|
cache: 'pip'
|
|
cache-dependency-path: 'requirements.txt'
|
|
|
|
- name: Install dependencies
|
|
run: |
|
|
python -m pip install --upgrade pip
|
|
python -m pip install --upgrade mypy
|
|
pip install -r requirements.txt
|
|
|
|
- name: Analyse code with Mypy
|
|
run: |
|
|
mypy --install-types --non-interactive $(git ls-files '*.py')
|