Skip to content

chore(deps): update dependency celery-types to v0.24.0 (#1246) #356

chore(deps): update dependency celery-types to v0.24.0 (#1246)

chore(deps): update dependency celery-types to v0.24.0 (#1246) #356

Workflow file for this run

# Copyright © Michal Čihař <michal@weblate.org>
#
# SPDX-License-Identifier: CC0-1.0
name: mypy
on:
push:
branches-ignore:
- renovate/**
- weblate
pull_request:
permissions:
contents: read
jobs:
mypy:
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
with:
persist-credentials: false
- name: Install apt dependencies
run: |
sudo apt update
sudo apt install libcairo-dev gir1.2-pango-1.0 libgirepository-2.0-dev libacl1-dev gettext liblz4-dev libzstd-dev libxxhash-dev gir1.2-rsvg-2.0 libleptonica-dev libtesseract-dev
- name: Setup Python
id: setup_python
uses: actions/setup-python@83679a892e2d95755f2dac6acb0bfd1e9ac5d548 # v6.1.0
with:
python-version: '3.14'
- uses: astral-sh/setup-uv@681c641aba71e4a1c380be3ab5e12ad51f415867 # v7.1.6
with:
save-cache: ${{ github.ref == 'refs/heads/main' }}
cache-suffix: ${{ steps.setup_python.outputs.python-version }}
version: 0.9.18
- name: Install deps
env:
CI_DATABASE: postgresql
run: |
uv sync --group types
uv pip install https://github.com/WeblateOrg/weblate/archive/main.zip
- name: Run mypy
env:
CI_DATABASE: postgresql
run: |
echo "::add-matcher::.github/matchers/mypy.json"
uv run --no-sync mypy --show-column-numbers wlhosted
echo "::remove-matcher owner=mypy::"