chore(config): migrate config .github/renovate.json #60
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
# SPDX-FileCopyrightText: 2023 Artemis Changelog Contributors | |
# | |
# SPDX-License-Identifier: EUPL-1.2 | |
name: Lint | |
on: [push, pull_request] | |
jobs: | |
ci: | |
strategy: | |
fail-fast: false | |
matrix: | |
python-version: ["3.12", "3.13"] | |
os: ["ubuntu-latest"] | |
runs-on: ${{ matrix.os }} | |
steps: | |
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4 | |
- name: Install uv | |
uses: astral-sh/setup-uv@v5 | |
with: | |
python-version: ${{ matrix.python-version }} | |
- name: Install the project | |
run: uv sync --all-extras --dev | |
- name: Check imports with isort | |
run: uv run isort --check-only . --profile black | |
- name: Check formatting | |
run: uv run ruff format --diff --check . | |
- name: Check typing with mypy | |
run: uv run mypy src tests | |
- name: Check typing with pyre | |
run: uv run pyre | |
- name: General linting with ruff | |
run: uv run ruff check src tests | |
- name: Check reuse | |
run: uv run reuse lint |