Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
name: ${{ matrix.test-type }} test on OTP ${{matrix.otp_vsn}}
strategy:
matrix:
otp_vsn: ['28', '27', '26']
otp_vsn: ['29', '28', '27']
rebar_vsn: ['3.27']
test-type: ['regular', 'integration']
runs-on: 'ubuntu-24.04'
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
- uses: actions/checkout@v6
- uses: erlef/setup-beam@v1
with:
otp-version: "28"
otp-version: "29"
rebar3-version: "3.27"
- run: rebar3 compile
- run: rebar3 hex publish -r hexpm --yes
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/revert-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
- uses: actions/checkout@v6
- uses: erlef/setup-beam@v1
with:
otp-version: "28"
otp-version: "29"
rebar3-version: "3.27"
- run: rebar3 hex publish --revert ${{ inputs.version }} -r hexpm --yes
env:
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
ARG otp_vsn=25.3
ARG otp_vsn=29
FROM erlang:${otp_vsn}
MAINTAINER Erlang Solutions <mongoose-im@erlang-solutions.com>

Expand Down
22 changes: 0 additions & 22 deletions elvis.config

This file was deleted.

2 changes: 1 addition & 1 deletion integration_test/build_docker_image.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ source "$(dirname "$0")/helper.sh"
enable_strict_mode
cd "$git_root"

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

docker build \
Expand Down
26 changes: 24 additions & 2 deletions rebar.config
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
{profiles, [
{test, [
{deps, [
{meck, "1.0.0"},
{meck, "1.2.0"},
{proper, "1.5.0"},
{bbmustache, "1.12.2"},
{wait_helper, "0.2.1"}
Expand Down Expand Up @@ -43,7 +43,7 @@
{project_plugins, [
{rebar3_hex, "~> 7.0"},
{rebar3_ex_doc, "~> 0.2"},
{rebar3_lint, "~> 4.2"},
{rebar3_lint, "~> 5.0"},
{rebar3_codecov, "~> 0.7"}
]}.

Expand All @@ -67,3 +67,25 @@
]}.

{hex, [{doc, #{provider => ex_doc}}]}.

{elvis, [
{config, [
#{
files => ["src/**/*.erl"],
ruleset => erl_files,
rules => [
{elvis_text_style, max_line_length, #{skip_comments => whole_line}},
{elvis_style, export_used_types, disable},
{elvis_style, private_data_types, disable},
{elvis_style, dont_repeat_yourself, #{ignore => [amoc_config_scenario]}},
{elvis_style, no_invalid_dynamic_calls, #{ignore => [{amoc_code_server, get_md5}]}},
{elvis_style, no_block_expressions, #{ignore => [amoc_cluster]}},
{elvis_style, no_throw, #{ignore => [amoc_config]}}
]
},
#{
files => ["rebar.config"],
ruleset => rebar_config
}
]}
]}.
Loading