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
16 changes: 8 additions & 8 deletions .github/workflows/erlang.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,11 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4
- uses: erlef/setup-beam@v1.16.0
- uses: actions/checkout@v6
- uses: erlef/setup-beam@v1.20.4
with:
otp-version: "24"
rebar3-version: "3.20.0"
otp-version: "27"
rebar3-version: "3.26.0"
- name: Compile
run: rebar3 compile
- name: Run tests
Expand All @@ -30,10 +30,10 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4
- uses: erlef/setup-beam@v1.16.0
- uses: actions/checkout@v6
- uses: erlef/setup-beam@v1.20.4
with:
otp-version: "24"
rebar3-version: "3.20.0"
otp-version: "27"
rebar3-version: "3.26.0"
- name: Run dialyzer
run: rebar3 dialyzer
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ else
endif

compile_elvis:
git clone https://github.com/inaka/elvis.git --branch 1.0.1 --single-branch .elvis && \
git clone https://github.com/inaka/elvis.git --branch 4.1.1 --single-branch .elvis && \
cd .elvis && \
rebar3 compile && \
rebar3 escriptize && \
Expand Down
4 changes: 2 additions & 2 deletions elvis.config
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@
}},
{elvis_text_style, no_tabs},
{elvis_text_style, no_trailing_whitespace},
{elvis_style, macro_module_names},
{elvis_style, nesting_level, #{
level => 3,
ignore => []
Expand All @@ -39,6 +38,8 @@
}},
{elvis_style, state_record_and_type},
{elvis_style, no_spec_with_records},
{elvis_style, no_import, #{ignore => [restc]}},
{elvis_style, operator_spaces, disable},
{elvis_style, dont_repeat_yourself, #{
min_complexity => 25,
ignore => []
Expand All @@ -55,7 +56,6 @@
}},
{elvis_text_style, no_tabs},
{elvis_text_style, no_trailing_whitespace},
{elvis_style, macro_module_names},
{elvis_style, no_debug_call, #{ignore => []}}
]
}
Expand Down