ci/woodpecker/push/ci Pipeline was successful
Both pipelines now run on push to main, pull requests, and tags. On GitHub, a push filter with only branches excluded tag pushes, so tags are listed explicitly; Woodpecker gained the tag event, and its push trigger is limited to main to match GitHub. Steps run inside the published image instead of installing Neovim, stylua, lua-language-server and luacheck on every run: GitHub ghcr.io/eleith/containers-nvim:0.12.1-luals3.19.1-stylua2.5.2 Woodpecker git.eleith.com/eleith.private/nvim:0.12.1-luals3.19.1-stylua2.5.2
27 lines
540 B
YAML
27 lines
540 B
YAML
# Conditions are OR'd: push to main, any pull request, any tag.
|
|
when:
|
|
- event: push
|
|
branch: main
|
|
- event: [pull_request, tag]
|
|
|
|
variables:
|
|
# Neovim, lua-language-server and stylua, pinned. Built from
|
|
# git.eleith.com/eleith/containers (nvim).
|
|
- &image git.eleith.com/eleith.private/nvim:0.12.1-luals3.19.1-stylua2.5.2
|
|
|
|
steps:
|
|
- name: lint
|
|
image: *image
|
|
commands:
|
|
- make lint
|
|
|
|
- name: fmt
|
|
image: *image
|
|
commands:
|
|
- make fmt-check
|
|
|
|
- name: test
|
|
image: *image
|
|
commands:
|
|
- make test
|