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 b74e041..0452bd2 100644 --- a/rebar.config +++ b/rebar.config @@ -10,7 +10,8 @@ ]}. {project_plugins, [ - erlfmt + erlfmt, + rebar3_depup ]}. {deps, [base32]}.