initial commit
Code Quality Pipeline / code-quality (push) Failing after 2m6s
Test Python Package / test (push) Failing after 15s
Type Check / type-check (push) Failing after 14s

This commit is contained in:
Brian Bjarke Jensen
2025-08-27 22:42:09 +02:00
parent 39d843d021
commit 95a8a29e2f
17 changed files with 807 additions and 0 deletions
+40
View File
@@ -0,0 +1,40 @@
name: Code Quality Pipeline
on:
push:
branches:
- main
pull_request:
jobs:
code-quality:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: ${{ vars.PYTHON_VERSION }}
- name: Install uv
run: pip install uv
- name: Install dependencies
run: uv pip install --group dev --system
- name: Ruff lint
run: ruff check .
- name: Ruff format
run: ruff format --check .
- name: Pyupgrade check
run: pyupgrade --py313-plus $(git ls-files '*.py') && git diff --exit-code
- name: Install prettier
run: npm install --save-dev --save-exact prettier
- name: Prettier format
run: npx prettier --check .