Update woodpecker configuration
This commit is contained in:
parent
10affeb32f
commit
91949622b7
3 changed files with 22 additions and 20 deletions
|
|
@ -1,19 +1,18 @@
|
|||
when:
|
||||
- event: push
|
||||
branch: main
|
||||
- event: pull_request
|
||||
- event: manual
|
||||
|
||||
steps:
|
||||
- name: python linting
|
||||
image: python:3.11
|
||||
image: ghcr.io/astral-sh/uv:latest
|
||||
commands:
|
||||
- pip install uv
|
||||
- uv sync --group ci
|
||||
- ./.venv/bin/ruff check src/
|
||||
- ./.venv/bin/ruff format --check src/
|
||||
- uv run --no-sync -- check src/
|
||||
- uv run --no-sync -- ruff format --check src/
|
||||
|
||||
- name: javascript linting
|
||||
image: node:lts
|
||||
image: node:lts-alpine
|
||||
commands:
|
||||
- npm install
|
||||
- npm ci
|
||||
- npm run lint
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue