From 3e4b2b92b79eeaf91e43236293594ec0d0f0b6b6 Mon Sep 17 00:00:00 2001 From: "Paulo F. Oliveira" Date: Mon, 8 Jul 2024 06:52:07 +0100 Subject: [PATCH] OTP 27: bump `katana_code` from 2.1.0 to 2.1.1 (#225) * Bump katana_code from 2.1.0 to 2.1.1 Improves execution over OTP 27 * Make sure we test changes over newer Erlang/OTPs * Keep CI backward-compatibility This would otherwise break with all the unknown types and function calls to `rebar3` --- .github/workflows/erlang.yml | 4 ++-- rebar.config | 7 ++++++- rebar.lock | 6 +++--- 3 files changed, 11 insertions(+), 6 deletions(-) diff --git a/.github/workflows/erlang.yml b/.github/workflows/erlang.yml index 3c7507b..6bcc3dc 100644 --- a/.github/workflows/erlang.yml +++ b/.github/workflows/erlang.yml @@ -13,8 +13,8 @@ jobs: strategy: matrix: - otp: ['25.2.1'] - rebar: ['3.20.0'] + otp: ['25', '26', '27'] + rebar: ['3.23'] steps: - uses: actions/checkout@v2 diff --git a/rebar.config b/rebar.config index 62a5949..1eabb47 100644 --- a/rebar.config +++ b/rebar.config @@ -21,7 +21,12 @@ {dialyzer, [{warnings, - [no_return, unmatched_returns, error_handling, missing_return, extra_return]}]}. + [no_return, + unmatched_returns, + error_handling, + missing_return, + extra_return, + no_unknown]}]}. {edoc_opts, [{todo, true}, diff --git a/rebar.lock b/rebar.lock index 31c3009..bb34dbd 100644 --- a/rebar.lock +++ b/rebar.lock @@ -1,8 +1,8 @@ {"1.2.0", -[{<<"katana_code">>,{pkg,<<"katana_code">>,<<"2.1.0">>},0}]}. +[{<<"katana_code">>,{pkg,<<"katana_code">>,<<"2.1.1">>},0}]}. [ {pkg_hash,[ - {<<"katana_code">>, <<"0C42BDCD7E59995876AED9F678CF62E3D12EF42E0FBB2190556E64BFEBDD15C6">>}]}, + {<<"katana_code">>, <<"9AC515E6B5AE4903CD7B6C9161ABFBA49B610B6F3E19E8F0542802A4316C2405">>}]}, {pkg_hash_ext,[ - {<<"katana_code">>, <<"AE3BBACA187511588F69695A9FF22251CB2CC672FDCCC180289779BDD25175EF">>}]} + {<<"katana_code">>, <<"0680F33525B9A882E6F4D3022518B15C46F648BD7B0DBE86900980FE1C291404">>}]} ].