ci: fix UV_LINK_MODE warning and add when event filter
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful

This commit is contained in:
2026-03-22 10:36:44 -06:00
parent bb765d279c
commit f3ed44ac4a

View File

@@ -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