Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F85830156
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Authored By
Unknown
Size
1 KB
Referenced Files
None
Subscribers
None
View Options
diff --git a/.woodpecker/lint.yaml b/.woodpecker/lint.yaml
index 792540f71..78f4a5164 100644
--- a/.woodpecker/lint.yaml
+++ b/.woodpecker/lint.yaml
@@ -1,50 +1,51 @@
when:
- event: pull_request
depends_on:
- changelog
steps:
mix-format:
image: &elixir-image
docker.io/elixir:1.15-alpine
failure: ignore
commands:
- |
if ! mix format --check-formatted; then
touch fail.stamp
fi
credo:
image: *elixir-image
failure: ignore
environment:
MIX_ENV: test
commands:
+ - apk add --no-cache build-base cmake exiftool ffmpeg file-dev git openssl
- adduser -D -h /home/testuser testuser
- mkdir -p /home/testuser/.mix /home/testuser/.hex
- chown -R testuser:testuser . /home/testuser
- su testuser -c "HOME=/home/testuser mix local.hex --force"
- su testuser -c "HOME=/home/testuser mix local.rebar --force"
- su testuser -c "HOME=/home/testuser mix deps.get"
- |
if [ ! su testuser -c "HOME=/home/testuser mix analyze" && ! -f fail.stamp ]; then
touch fail.stamp
fi
cycles:
image: *elixir-image
failure: ignore
commands:
- mix xref graph --format cycles --label compile | awk '{print $0} END{exit ($0 != "No cycles found")}'
ensure-status:
image: *elixir-image
commands: |
if [ -f fail.stamp ]; then
echo "One or more previous steps fails. Failing workflow..."
exit 1
else
echo "All steps passed"
exit 0
fi
File Metadata
Details
Attached
Mime Type
text/x-diff
Expires
Sun, Nov 1, 2:24 AM (17 h, 49 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1802238
Default Alt Text
(1 KB)
Attached To
Mode
rPUBE pleroma-upstream
Attached
Detach File
Event Timeline