Skip to content

feat(action): in the GitHub action, use simple setup-python pip cachi… #1364

feat(action): in the GitHub action, use simple setup-python pip cachi…

feat(action): in the GitHub action, use simple setup-python pip cachi… #1364

Workflow file for this run

---
name: mypy
on: push # yamllint disable-line rule:truthy
jobs:
mypy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install uv
uses: astral-sh/setup-uv@v3
- uses: actions/setup-python@v5
with:
python-version: 3.x
- run: |
uv pip install --system -U \
black \
git+https://github.com/akaihola/darkgraylib.git@main \
flynt \
isort \
mypy>=0.990 \
pytest \
types-requests \
types-toml
- uses: wearerequired/[email protected]
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
mypy: true
mypy_args: "src"
continue_on_error: false