chore(deps): update astral-sh/setup-uv action to v4 #22
Workflow file for this run
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
# Copyright © Michal Čihař <[email protected]> | |
# | |
# SPDX-License-Identifier: CC0-1.0 | |
name: mypy | |
on: | |
push: | |
branches-ignore: | |
- deepsource-fix-** | |
- renovate/** | |
- weblate | |
pull_request: | |
permissions: | |
contents: read | |
jobs: | |
mypy: | |
runs-on: ubuntu-24.04 | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
fetch-depth: 2 | |
- uses: astral-sh/setup-uv@v4 | |
with: | |
enable-cache: true | |
cache-dependency-glob: '' | |
cache-suffix: '3.13' | |
- name: Setup Python | |
uses: actions/setup-python@v5 | |
with: | |
python-version: '3.13' | |
- name: Install pip dependencies | |
run: uv pip install --system -e .[dev] | |
- name: Run mypy | |
run: | | |
echo "::add-matcher::.github/matchers/mypy.json" | |
mypy --show-column-numbers translation_finder | |
echo "::remove-matcher owner=mypy::" |