Woodpecker CI: Don't immediately fail whole lint workflow with one error
This commit is contained in:
parent
8640fcef22
commit
b224a2dacc
1 changed files with 3 additions and 0 deletions
|
|
@ -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")}'
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue