Skip to content

✨ feat: Introduce core application structure, logging, exception hand… #17

✨ feat: Introduce core application structure, logging, exception hand…

✨ feat: Introduce core application structure, logging, exception hand… #17

Workflow file for this run

name: Linters
on:
push:
paths:
- "src/**"
- "tests/**"
- "docs/**"
- "README.md"
- "CHANGELOG.md"
- "CONTRIBUTING.md"
pull_request:
paths:
- "src/**"
- "tests/**"
- "docs/**"
- "README.md"
- "CHANGELOG.md"
- "CONTRIBUTING.md"
concurrency:
group: linters-${{ github.ref }}
cancel-in-progress: true
jobs:
ruff:
name: Ruff (check + format)
runs-on: ubuntu-latest
steps:
- name: Checkout Repository
uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: "3.12"
- name: Install uv
uses: astral-sh/setup-uv@v5
with:
version: "latest"
enable-cache: true
- name: Install dependencies
run: uv sync --all-extras --all-groups
- name: Ruff check
run: uv run ruff check --output-format=github
- name: Ruff format check
run: uv run ruff format --check
markdown:
name: Markdown Lint
runs-on: ubuntu-latest
steps:
- name: Checkout Repository
uses: actions/checkout@v4
- name: Markdown Lint
uses: DavidAnson/markdownlint-cli2-action@v19
with:
config: .markdownlint.yaml
globs: |
README.md
CHANGELOG.md
CONTRIBUTING.md
docs/*.md
tests/*.md