Merge pull request #11 from kevinveenbirkenbach/chore/quality-reusable-gate

ci: run ruff and the quality gate from infinito-nexus/quality
This commit is contained in:
Kevin Veen-Birkenbach authored and GitHub committed 2026-11-25 22:26:22 +01:00
commit 895ec2f0d4
2 files changed
+10 -16

No files matched your search

+6
View File
@@ -71,3 +71,9 @@ jobs:
contents: read contents: read
security-events: write security-events: write
uses: ./.github/workflows/lint-docker.yml uses: ./.github/workflows/lint-docker.yml
quality:
if: github.event_name == 'pull_request' || github.ref == 'refs/heads/main'
permissions:
contents: read
uses: infinito-nexus/quality/.github/workflows/quality.yml@003eed66dd51592c3312a7c21ae429abead54d6f # v0.2.0
+4 -16
View File
@@ -8,19 +8,7 @@ permissions:
jobs: jobs:
lint-python: lint-python:
runs-on: ubuntu-latest uses: infinito-nexus/quality/.github/workflows/tool.yml@003eed66dd51592c3312a7c21ae429abead54d6f # v0.2.0
with:
steps: tool: ruff
- uses: actions/checkout@v7 args: check src tests
- name: Set up Python
uses: actions/setup-python@v7
with:
python-version: "3.12"
- name: Install ruff
run: pip install ruff
- name: Run ruff
run: |
ruff check src tests