From ec55dac985f442357f73102e2154508ef4efc985 Mon Sep 17 00:00:00 2001 From: Andrea Leopardi Date: Wed, 20 Nov 2024 14:25:22 +0100 Subject: [PATCH] Add missing rebar3_depup plugin (#16) --- .github/workflows/check-deps.sh | 3 ++- rebar.config | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/check-deps.sh b/.github/workflows/check-deps.sh index 7ac2236..0439af3 100755 --- a/.github/workflows/check-deps.sh +++ b/.github/workflows/check-deps.sh @@ -21,7 +21,8 @@ if git diff --exit-code --quiet; then echo "No changes to the dependencies" exit 0 else - echo "Detected changes to dependencies" + echo "Detected changes to dependencies, reformatting as well" + rebar3 fmt --write fi git checkout -b "$BRANCH_NAME" diff --git a/rebar.config b/rebar.config index 4fe13e9..17c9133 100644 --- a/rebar.config +++ b/rebar.config @@ -7,7 +7,8 @@ ]}. {project_plugins, [ - erlfmt + erlfmt, + rebar3_depup ]}. {deps, [