Woodpecker CI: Don't immediately fail whole lint workflow with one error

This commit is contained in:
Phantasm 2026-02-14 20:10:49 +01:00 committed by Phantasm
commit b224a2dacc

View file

@ -8,6 +8,7 @@ steps:
mix-format: mix-format:
image: &elixir-image image: &elixir-image
docker.io/elixir:1.15-alpine docker.io/elixir:1.15-alpine
failure: ignore
commands: commands:
- | - |
if ! mix format --check-formatted; then if ! mix format --check-formatted; then
@ -16,6 +17,7 @@ steps:
credo: credo:
image: *elixir-image image: *elixir-image
failure: ignore
environment: environment:
MIX_ENV: test MIX_ENV: test
commands: commands:
@ -32,6 +34,7 @@ steps:
cycles: cycles:
image: *elixir-image image: *elixir-image
failure: ignore
commands: commands:
- mix xref graph --format cycles --label compile | awk '{print $0} END{exit ($0 != "No cycles found")}' - mix xref graph --format cycles --label compile | awk '{print $0} END{exit ($0 != "No cycles found")}'