Skip to content

Commit 0ac3e8c

Browse files
committed
Support Erlang/OTP 29
1 parent 1d934e6 commit 0ac3e8c

7 files changed

Lines changed: 29 additions & 29 deletions

File tree

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
name: ${{ matrix.test-type }} test on OTP ${{matrix.otp_vsn}}
1313
strategy:
1414
matrix:
15-
otp_vsn: ['28', '27', '26']
15+
otp_vsn: ['29', '28', '27']
1616
rebar_vsn: ['3.27']
1717
test-type: ['regular', 'integration']
1818
runs-on: 'ubuntu-24.04'

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
- uses: actions/checkout@v6
1616
- uses: erlef/setup-beam@v1
1717
with:
18-
otp-version: "28"
18+
otp-version: "29"
1919
rebar3-version: "3.27"
2020
- run: rebar3 compile
2121
- run: rebar3 hex publish -r hexpm --yes

.github/workflows/revert-release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
- uses: actions/checkout@v6
1919
- uses: erlef/setup-beam@v1
2020
with:
21-
otp-version: "28"
21+
otp-version: "29"
2222
rebar3-version: "3.27"
2323
- run: rebar3 hex publish --revert ${{ inputs.version }} -r hexpm --yes
2424
env:

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
ARG otp_vsn=25.3
1+
ARG otp_vsn=29
22
FROM erlang:${otp_vsn}
33
MAINTAINER Erlang Solutions <mongoose-im@erlang-solutions.com>
44

elvis.config

Lines changed: 0 additions & 22 deletions
This file was deleted.

integration_test/build_docker_image.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ source "$(dirname "$0")/helper.sh"
44
enable_strict_mode
55
cd "$git_root"
66

7-
otp_vsn="${OTP_RELEASE:-28}"
7+
otp_vsn="${OTP_RELEASE:-29}"
88
echo "ERLANG/OTP '${otp_vsn}'"
99

1010
docker build \

rebar.config

Lines changed: 24 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
{profiles, [
1111
{test, [
1212
{deps, [
13-
{meck, "1.0.0"},
13+
{meck, "1.2.0"},
1414
{proper, "1.5.0"},
1515
{bbmustache, "1.12.2"},
1616
{wait_helper, "0.2.1"}
@@ -43,7 +43,7 @@
4343
{project_plugins, [
4444
{rebar3_hex, "~> 7.0"},
4545
{rebar3_ex_doc, "~> 0.2"},
46-
{rebar3_lint, "~> 4.2"},
46+
{rebar3_lint, "~> 5.0"},
4747
{rebar3_codecov, "~> 0.7"}
4848
]}.
4949

@@ -67,3 +67,25 @@
6767
]}.
6868

6969
{hex, [{doc, #{provider => ex_doc}}]}.
70+
71+
{elvis, [
72+
{config, [
73+
#{
74+
files => ["src/**/*.erl"],
75+
ruleset => erl_files,
76+
rules => [
77+
{elvis_text_style, max_line_length, #{skip_comments => whole_line}},
78+
{elvis_style, export_used_types, disable},
79+
{elvis_style, private_data_types, disable},
80+
{elvis_style, dont_repeat_yourself, #{ignore => [amoc_config_scenario]}},
81+
{elvis_style, no_invalid_dynamic_calls, #{ignore => [{amoc_code_server, get_md5}]}},
82+
{elvis_style, no_block_expressions, #{ignore => [amoc_cluster]}},
83+
{elvis_style, no_throw, #{ignore => [amoc_config]}}
84+
]
85+
},
86+
#{
87+
files => ["rebar.config"],
88+
ruleset => rebar_config
89+
}
90+
]}
91+
]}.

0 commit comments

Comments
 (0)