feat: add linter to ci workflow
Some checks failed
Lint, Build, Scan and Publish Docker Image / lint (push) Failing after 36s
Lint, Build, Scan and Publish Docker Image / build-and-push (push) Successful in 1m14s

This commit is contained in:
2026-01-18 12:46:09 +01:00
parent a7baf35772
commit 95ec3293e6

View File

@@ -14,12 +14,8 @@ jobs:
- name: Checkout code - name: Checkout code
uses: actions/checkout@v4 uses: actions/checkout@v4
- name: Install and run Ruff (Lint & Format Check) - name: Lint & Format Check python code with ruff
run: | uses: astral-sh/ruff-action@v3
python3 -m venv venv
source venv/bin/activate
ruff check .
ruff format --check .
- name: Lint Dockerfile (Hadolint) - name: Lint Dockerfile (Hadolint)
uses: hadolint/hadolint-action@v3.1.0 uses: hadolint/hadolint-action@v3.1.0