From 3c141274f54e559d0031aceec4237ee35f2e47c6 Mon Sep 17 00:00:00 2001 From: Marcelino Alberdi Pereira Date: Fri, 28 Nov 2025 11:08:40 +0100 Subject: [PATCH] feat(#13): Update to OTP 28 Closes #13. --- .github/workflows/ci.yml | 10 +++------- README.md | 5 ++--- rebar.config | 14 +++++++------- rebar.lock | 28 ---------------------------- 4 files changed, 12 insertions(+), 45 deletions(-) delete mode 100644 rebar.lock diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 68e32d1..69b6921 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -7,8 +7,8 @@ on: branches: [main] env: - OTP-VERSION: 25.2.3 - REBAR3-VERSION: 3.20.0 + OTP-VERSION: '28.1' + REBAR3-VERSION: '3.25.0' jobs: check: @@ -17,16 +17,12 @@ jobs: steps: - uses: actions/checkout@v3 - - uses: webfactory/ssh-agent@v0.7.0 - with: - ssh-private-key: ${{ secrets.SSH_PRIVATE_KEY }} - - 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: | diff --git a/README.md b/README.md index 9a52afb..d462bbd 100644 --- a/README.md +++ b/README.md @@ -7,9 +7,8 @@ An OTP application to send and receive real time events over HTTP connections. ## Prerequisites -![Min. OTP version](https://img.shields.io/badge/min._OTP-25.3.2-blue) -![Max. OTP version](https://img.shields.io/badge/max._OTP-26-blue) -![Min. rebar version](https://img.shields.io/badge/min._rebar-3.22.X-blue) +![Min. OTP version](https://img.shields.io/badge/min._OTP-28-blue) +![Min. rebar version](https://img.shields.io/badge/min._rebar-3.25.X-blue) ## Usage diff --git a/rebar.config b/rebar.config index 0c171e0..eac0441 100644 --- a/rebar.config +++ b/rebar.config @@ -1,15 +1,15 @@ {erl_opts, [warnings_as_errors]}. {deps, [ - {cowboy, {git, "git@github.com:ninenines/cowboy.git", {branch, "master"}}}, + {cowboy, {git, "https://github.com/ninenines/cowboy.git", {branch, "master"}}}, {ebus, "0.3.0", {pkg, erlbus}}, - {njson, {git, "git@github.com:nomasystems/njson.git", {branch, "main"}}}, - {nuid, {git, "git@github.com:nomasystems/nuid.git", {branch, "main"}}} + {njson, {git, "https://github.com/nomasystems/njson.git", {branch, "main"}}}, + {nuid, {git, "https://github.com/nomasystems/nuid.git", {branch, "main"}}} ]}. {project_plugins, [ - {erlfmt, {git, "git@github.com:WhatsApp/erlfmt.git", {branch, "main"}}}, - {gradualizer, {git, "git@github.com:josefs/Gradualizer.git", {branch, "master"}}} + {erlfmt, {git, "https://github.com/WhatsApp/erlfmt.git", {branch, "main"}}}, + {gradualizer, {git, "https://github.com/josefs/Gradualizer.git", {branch, "master"}}} ]}. {erlfmt, [write]}. @@ -29,8 +29,8 @@ {profiles, [ {test, [ {deps, [ - {gun, {git, "git@github.com:ninenines/gun.git", {branch, "master"}}}, - {nct_util, {git, "git@github.com:nomasystems/nct_util.git", {branch, "main"}}} + {gun, {git, "https://github.com/ninenines/gun.git", {branch, "master"}}}, + {nct_util, {git, "https://github.com/nomasystems/nct_util.git", {branch, "main"}}} ]} ]} ]}. diff --git a/rebar.lock b/rebar.lock deleted file mode 100644 index 65ff55f..0000000 --- a/rebar.lock +++ /dev/null @@ -1,28 +0,0 @@ -{"1.2.0", -[{<<"cowboy">>, - {git,"git@github.com:ninenines/cowboy.git", - {ref,"22adc4de517bf54661795f6e18b6b2e62aec4140"}}, - 0}, - {<<"cowlib">>, - {git,"https://github.com/ninenines/cowlib", - {ref,"cc04201c1d0e1d5603cd1cde037ab729b192634c"}}, - 1}, - {<<"ebus">>,{pkg,<<"erlbus">>,<<"0.3.0">>},0}, - {<<"njson">>, - {git,"git@github.com:nomasystems/njson.git", - {ref,"76ab40033ee977f876e7b3addca5de981ff4a9ef"}}, - 0}, - {<<"nuid">>, - {git,"git@github.com:nomasystems/nuid.git", - {ref,"d04cb2cb0ed5f6f1c99bdb226cf82198ec7fbeb6"}}, - 0}, - {<<"ranch">>, - {git,"https://github.com/ninenines/ranch", - {ref,"a692f44567034dacf5efcaa24a24183788594eb7"}}, - 1}]}. -[ -{pkg_hash,[ - {<<"ebus">>, <<"ECD5418FF2A365A9E809F553B15B624522DAD788C49F3AEDB64017C192568810">>}]}, -{pkg_hash_ext,[ - {<<"ebus">>, <<"45938BF8B97E26B02FE44B91D52BE333A2A82CF4220EBFEACC32588B2C84FA30">>}]} -].