Skip to content

Commit 8527cb0

Browse files
Allow recent changes to be used in OTP24 (#593)
1 parent 0b5c110 commit 8527cb0

3 files changed

Lines changed: 12 additions & 10 deletions

File tree

.github/workflows/ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@ jobs:
1414
runs-on: ubuntu-24.04
1515
strategy:
1616
matrix:
17-
otp_vsn: ['25', '26', '27']
18-
rebar3_vsn: ['3.24']
17+
otp_vsn: ['24']
18+
rebar3_vsn: ['3.22']
1919
steps:
2020
- uses: actions/checkout@v4
2121
- uses: erlef/setup-beam@v1

rebar.config

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,28 +3,29 @@
33
{erl_opts,
44
[warn_unused_import, warn_export_vars, warnings_as_errors, verbose, report, debug_info]}.
55

6-
{minimum_otp_vsn, "25"}.
7-
86
{profiles,
97
[{test,
108
[{extra_src_dirs, [{"test/examples", [{recursive, true}]}]},
11-
{deps, [{mixer, "1.2.0", {pkg, inaka_mixer}}, {meck, "1.0.0"}]},
9+
{deps, [{mixer, "1.2.0", {pkg, inaka_mixer}}, {meck, "0.9.2"}]},
1210
{ct_opts, [{sys_config, ["./config/test.config"]}, {logdir, "./logs"}, {verbose, true}]},
1311
{cover_enabled, true},
1412
{cover_opts, [verbose]},
1513
{dialyzer,
1614
[{warnings, [no_return, unmatched_returns, error_handling, underspecs, unknown]},
1715
{plt_extra_apps, [meck, dialyzer, common_test, compiler]}]}]}]}.
1816

19-
{alias, [{test, [compile, format, hank, xref, dialyzer, ct, cover, ex_doc]}]}.
17+
{alias, [{test, [compile, format, hank, xref, dialyzer, ct, cover]}]}.
2018

2119
{escript_main_app, elvis}.
2220

2321
{escript_name, "elvis"}.
2422

2523
%% == Dependencies and plugins ==
2624

27-
{deps, [{elvis_core, "4.0.0"}, {getopt, "1.0.3"}, {egithub, "0.7.0"}]}.
25+
{deps,
26+
[{elvis_core, {git, "https://github.com/inaka/elvis_core.git", {tag, "4.0.0-otp24"}}},
27+
{getopt, "1.0.3"},
28+
{egithub, "0.7.0"}]}.
2829

2930
{project_plugins,
3031
[{rebar3_hank, "~> 1.4.1"},

rebar.lock

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,10 @@
11
{"1.2.0",
22
[{<<"certifi">>,{pkg,<<"certifi">>,<<"2.13.0">>},2},
33
{<<"egithub">>,{pkg,<<"egithub">>,<<"0.7.0">>},0},
4-
{<<"elvis_core">>,{pkg,<<"elvis_core">>,<<"4.0.0">>},0},
4+
{<<"elvis_core">>,
5+
{git,"https://github.com/inaka/elvis_core.git",
6+
{ref,"c880dc94b31a0bc59d2055d6a9c8831ad9d64800"}},
7+
0},
58
{<<"getopt">>,{pkg,<<"getopt">>,<<"1.0.3">>},0},
69
{<<"goldrush">>,{pkg,<<"goldrush">>,<<"0.1.9">>},1},
710
{<<"hackney">>,{pkg,<<"hackney">>,<<"1.17.1">>},1},
@@ -19,7 +22,6 @@
1922
{pkg_hash,[
2023
{<<"certifi">>, <<"E52BE248590050B2DD33B0BB274B56678F9068E67805DCA8AA8B1CCDB016BBF6">>},
2124
{<<"egithub">>, <<"CFF720B2ADE8A0528B8861D2309339FD3C1C289B9BCB9E498FF77C619CE28AF2">>},
22-
{<<"elvis_core">>, <<"6042482D14EDEA5766ADF50E549F2D809ED6B0C6CCBA1D88BB00D00B1EA7BB89">>},
2325
{<<"getopt">>, <<"4F3320C1F6F26B2BEC0F6C6446B943EB927A1E6428EA279A1C6C534906EE79F1">>},
2426
{<<"goldrush">>, <<"F06E5D5F1277DA5C413E84D5A2924174182FB108DABB39D5EC548B27424CD106">>},
2527
{<<"hackney">>, <<"08463F93D2CC1A03817BF28D8DAE6021543F773BD436C9377047224856C4422C">>},
@@ -36,7 +38,6 @@
3638
{pkg_hash_ext,[
3739
{<<"certifi">>, <<"8F3D9533A0F06070AFDFD5D596B32E21C6580667A492891851B0E2737BC507A1">>},
3840
{<<"egithub">>, <<"E009CE11EFD8008D0F9ED59D9C488E3E9ABE302A0F2CD6D663E4CC26756FCC4C">>},
39-
{<<"elvis_core">>, <<"FA2EE30F2464466D3599FB1FCFAA615C89959FC5019A45619EF7ADB7ED420BE5">>},
4041
{<<"getopt">>, <<"7E01DE90AC540F21494FF72792B1E3162D399966EBBFC674B4CE52CB8F49324F">>},
4142
{<<"goldrush">>, <<"99CB4128CFFCB3227581E5D4D803D5413FA643F4EB96523F77D9E6937D994CEB">>},
4243
{<<"hackney">>, <<"D2CBA9E3C8103AD0320623E9F1C33E8D378A15EAABE2EE8AE441898F3D35A18C">>},

0 commit comments

Comments
 (0)