From 221125198d0ed3ae6c3d1e8315e1eeabc2db7f40 Mon Sep 17 00:00:00 2001 From: Adrien Date: Tue, 13 Feb 2024 22:09:09 +0100 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20Image=20shall=20be=20set=20for?= =?UTF-8?q?=20each=20CI=20step?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- backend/.woodpecker/.lint.yaml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/backend/.woodpecker/.lint.yaml b/backend/.woodpecker/.lint.yaml index 3e633de..531a197 100644 --- a/backend/.woodpecker/.lint.yaml +++ b/backend/.woodpecker/.lint.yaml @@ -3,10 +3,9 @@ when: branch: exclude: [master, release/*] -image: python:3.12-alpine - steps: - name: prepare + image: python:3.12-alpine command: | wget -O - -q https://raw.githubusercontent.com/reviewdog/reviewdog/master/install.sh | sh -s latest pip install poetry @@ -14,12 +13,14 @@ steps: poetry install --only=linters --no-root - name: ruff + image: python:3.12-alpine failure: ignore secrets: ["reviewdog_gitea_api_token", "gitea_address"] commands: | poetry run ruff --output-format sarif . | ./bin/reviewdog -f sarif -reporter gitea-pr-review -filter-mode nofilter - name: mypy + image: python:3.12-alpine failure: ignore secrets: ["reviewdog_gitea_api_token", "gitea_address"] commands: |