Skip to content

Commit

Permalink
Update dependencies (#169)
Browse files Browse the repository at this point in the history
Updates from "rebar3 update-deps --replace":

===> Looking for dependencies to update in rebar.config...
===> jsx (profile default) can be updated from 3.0.0 to 3.1.0
===> dns_erlang (profile default) can't be updated because it's not using a tag
===> nodefinder (profile default) can be updated from 2.0.0 to 2.0.7
===> opentelemetry_api (profile default) can be updated from 0.6.0 to 1.4.0
===> Dependencies updated in rebar.config. Don't forget to run rebar3 upgrade [-a] [<package>]
  • Loading branch information
github-actions[bot] authored Dec 4, 2024
1 parent 6cee715 commit 9f524ae
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 34 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/check-deps.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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, also reformatting"
rebar3 fmt --write
fi

git checkout -b "$BRANCH_NAME"
Expand Down
45 changes: 12 additions & 33 deletions rebar.config
Original file line number Diff line number Diff line change
@@ -1,85 +1,64 @@
%%-*- mode: erlang -*-
{cover_enabled, true}.

{erl_opts, [
debug_info,
fail_on_warning,
{platform_define, "^[0-9]+", namespaced_types},
{parse_transform, lager_transform}
]}.

{project_plugins, [
erlfmt,
rebar3_depup
]}.
{project_plugins, [erlfmt, rebar3_depup]}.

{deps, [
{lager, "3.9.2"},
recon,
folsom,
{jsx, "3.0.0"},
{jsx, "3.1.0"},
{dns_erlang, ".*", {git, "https://github.com/dnsimple/dns_erlang.git", {branch, "main"}}},
iso8601,
{nodefinder, "2.0.0"},
{opentelemetry_api, "0.6.0"},
{nodefinder, "2.0.7"},
{opentelemetry_api, "1.4.0"},
{meck, "0.9.2"}
]}.

{profiles, [{test, [{deps, [proper]}]}]}.

{format, [
{formatter, default_formatter},
{files, [
"src/**/*.?rl", "include/**/*.?rl"
]},
{files, ["src/**/*.?rl", "include/**/*.?rl"]},
{options, #{
paper => 160,
ribbon => 150,
inline_attributes => none,
inline_qualified_function_composition => true
}}
]}.

{depup, [{only, minor}]}.

{shell, [
{apps, [erldns]},
{config, "erldns.config"}
]}.
{shell, [{apps, [erldns]}, {config, "erldns.config"}]}.

{relx, [
{release, {erldns, "3.0.0"}, [erldns]},

{dev_mode, true},
{include_erts, false},
{sys_config, "erldns.config"},
{overlay, [
{copy, "priv/zones-example.json", "priv/zones-example.json"},
{copy, "priv/zones-test.json", "priv/zones-test.json"}
]},

{extended_start_script, true}
]}.

%% This is a rebar3-ism
{overrides, [
{override, dns_erlang, [
{plugins, [
{provider_asn1, "0.2.3"}
]},
{plugins, [{provider_asn1, "0.2.3"}]},
{provider_hooks, [
{pre, [
{compile, {asn, compile}}
]},
{post, [
{clean, {asn, clean}}
]}
{pre, [{compile, {asn, compile}}]},
{post, [{clean, {asn, clean}}]}
]}
]}
]}.

{dialyzer, [{warnings, [no_unknown]}]}.
{erlfmt, [write, {print_width, 140}]}.

{erlfmt, [
write,
{print_width, 140}
]}.
%% This is a rebar3-ism

0 comments on commit 9f524ae

Please sign in to comment.