From eee423783511997b58ef9d2fce8be8d715dc2377 Mon Sep 17 00:00:00 2001 From: "Jose E. Cribeiro Aneiros" Date: Mon, 25 Aug 2025 15:47:32 +0200 Subject: [PATCH 1/3] ci: update CI to use erlang 28 --- .github/workflows/ci.yml | 36 ++++++++++++++++++++++++------------ 1 file changed, 24 insertions(+), 12 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 7ebae51..ce3552d 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -2,9 +2,9 @@ name: conf ci on: push: - branches: [main] + branches: [noma/main] pull_request: - branches: [main] + branches: [noma/main] env: OTP-VERSION: 25.2.3 @@ -13,27 +13,39 @@ env: jobs: check: runs-on: ubuntu-latest + strategy: + matrix: + combo: + - otp-version: '25.2' + rebar3-version: '3.18.0' + - otp-version: '26.2' + rebar3-version: '3.23.0' + - otp-version: '27.2' + rebar3-version: '3.24.0' + - otp-version: '28.0' + rebar3-version: '3.25.0' steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - - uses: webfactory/ssh-agent@v0.7.0 + - uses: erlef/setup-beam@v1.18 with: - ssh-private-key: ${{ secrets.SSH_PRIVATE_KEY }} + otp-version: ${{ matrix.combo.otp-version }} + rebar3-version: ${{ matrix.combo.rebar3-version }} - - uses: erlef/setup-beam@v1 - with: - otp-version: ${{ env.OTP-VERSION }} - rebar3-version: ${{ env.REBAR3-VERSION }} - - - uses: actions/cache@v3.2.6 + - uses: actions/cache@v4 id: rebar3-cache with: path: | ~/.cache/rebar3 _build - key: ${{ runner.os }}-${{ env.OTP-VERSION }}-${{ env.REBAR3-VERSION }}-${{ hashFiles('rebar.lock') }} + key: ${{ runner.os }}-${{ runner.arch }}-${{ matrix.combo.otp-version }}-${{ matrix.combo.rebar3-version }}-${{ hashFiles('rebar.lock') }} - run: rebar3 check - run: rebar3 test + + - uses: test-summary/action@v2 + if: always() + with: + paths: '_build/test/logs/**/report.xml' From 5a0993bd37ed465866af3e19fd0c03ea0e8ea9b9 Mon Sep 17 00:00:00 2001 From: "Jose E. Cribeiro Aneiros" Date: Tue, 26 Aug 2025 08:51:56 +0200 Subject: [PATCH 2/3] chore: Upgrade deps --- rebar.config | 2 +- rebar.lock | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/rebar.config b/rebar.config index fa7db89..4d3ae24 100644 --- a/rebar.config +++ b/rebar.config @@ -1,5 +1,5 @@ {deps, [{yamerl, {git, "https://github.com/yakaz/yamerl.git", {branch, "master"}}}, - {yval, {git, "https://github.com/nomasystems/yval.git", {branch, "experiment/do-not-fail-with-extra-data"}}}]}. + {yval, {git, "https://github.com/nomasystems/yval.git", {branch, "noma/main"}}}]}. {erl_opts, [{platform_define, "^21\.[0-2]\.", old_set_env}, diff --git a/rebar.lock b/rebar.lock index 7fb7206..9fc0c00 100644 --- a/rebar.lock +++ b/rebar.lock @@ -1,8 +1,8 @@ [{<<"yamerl">>, {git,"https://github.com/yakaz/yamerl.git", - {ref,"bf9d8b743bfc9775f2ddad9fb8d18ba5dc29d3e1"}}, + {ref,"bdb3b032f972a397c527667254393cd3c8942df3"}}, 0}, {<<"yval">>, {git,"https://github.com/nomasystems/yval.git", - {ref,"8cddc44992a81dce187754ec017b481cd52d5ce2"}}, + {ref,"374900ef1b39bc76420075a0dfd7ceeb9512be5b"}}, 0}]. From c60b040f4779089b0debb20e72dc1f62e790a4f5 Mon Sep 17 00:00:00 2001 From: "Jose E. Cribeiro Aneiros" Date: Tue, 26 Aug 2025 08:59:18 +0200 Subject: [PATCH 3/3] fix: Fixes connect_all expected param --- test/conf_test.erl | 1 + 1 file changed, 1 insertion(+) diff --git a/test/conf_test.erl b/test/conf_test.erl index ff20948..a259634 100644 --- a/test/conf_test.erl +++ b/test/conf_test.erl @@ -46,6 +46,7 @@ apps() -> expect() -> [{crypto,[{fips_mode,false},{rand_cache_size,1024}]}, {kernel,[{boot_server_slaves,[{127,0,0,1}]}, + {connect_all,true}, {dist_auto_connect,never}, {global_groups,[{group1,normal,[a@localhost,b@localhost]}]}, {inet_dist_listen_max,65535},