✨ feat: Introduce core application structure, logging, exception hand… #17
This file contains hidden or 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
| 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 |