diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index d22bc56..9f48ad8 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -19,6 +19,7 @@ jobs: - otp_version: 25 os: ubuntu-22.04 rebar3_version: 3.22 + latest: true - otp_version: 24 os: ubuntu-22.04 rebar3_version: 3.22 @@ -39,6 +40,8 @@ jobs: - name: Compile run: rebar3 compile + - name: Lint + run: if [[ "${{ matrix.latest }}" == "true" ]]; then rebar3 lint; fi - name: EUnit tests run: rebar3 eunit - name: Dialyzer diff --git a/rebar.config b/rebar.config index a4a06f9..b27e378 100644 --- a/rebar.config +++ b/rebar.config @@ -26,10 +26,9 @@ {project_plugins, [ {covertool, "2.0.6"}, - {rebar3_lint, "1.0.2"} + {rebar3_lint, "3.2.5"} ]}. -{provider_hooks, [{pre, [{eunit, lint}]}]}. {dialyzer, [{plt_extra_apps, [ssl]}]}. {cover_enabled, true}.