From f3ed44ac4a06e1dce89150b579f5b3033149fed3 Mon Sep 17 00:00:00 2001 From: Brian Rosner Date: Sun, 22 Mar 2026 10:36:44 -0600 Subject: [PATCH] ci: fix UV_LINK_MODE warning and add when event filter --- .woodpecker.yml | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/.woodpecker.yml b/.woodpecker.yml index 6804764..e2b4436 100644 --- a/.woodpecker.yml +++ b/.woodpecker.yml @@ -1,14 +1,25 @@ labels: platform: linux/amd64 +when: + - event: [push, pull_request] + +variables: + - &uv_env + UV_LINK_MODE: copy + steps: - name: lint image: ghcr.io/astral-sh/uv:python3.13-alpine + environment: + <<: *uv_env commands: - uv run ruff check . - uv run ruff format --check . - name: test image: ghcr.io/astral-sh/uv:python3.13-alpine + environment: + <<: *uv_env commands: - uv run pytest