Skip to content

Commit

Permalink
Bring it closer to home
Browse files Browse the repository at this point in the history
  • Loading branch information
paulo-ferraz-oliveira committed Aug 23, 2023
1 parent 447494d commit d9ee994
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
4 changes: 1 addition & 3 deletions .github/workflows/rebar3_depup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,7 @@ git fetch origin
git checkout -b "$BRANCH"
mkdir -p "$HOME/.config/rebar3"
echo "{plugins, [rebar3_depup]}." > "$HOME/.config/rebar3/rebar.config"
rebar3 update-deps --replace
rebar3 upgrade --all
rebar3 fmt
rebar3 up

if ! git diff --exit-code 1> /dev/null ; then
# there's stuff to push
Expand Down
5 changes: 4 additions & 1 deletion rebar.config
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,10 @@

{deps, [{tls_certificate_check, "1.20.0"}]}.

{alias, [{ci, [fmt, hank, lint, xref, dialyzer, ct, cover, ex_doc]}]}.
{alias, [
{ci, [fmt, hank, lint, xref, dialyzer, ct, cover, ex_doc]},
{up, [{'update-deps', "--replace"}, {upgrade, "--all"}, fmt]}
]}.

{shell, [{apps, [rebar3_checkshell]}]}.

Expand Down

0 comments on commit d9ee994

Please sign in to comment.