From 1e9a969968b53b2535b9f5ea927dd04c5be8bf11 Mon Sep 17 00:00:00 2001 From: Badlop Date: Tue, 22 Aug 2023 13:26:25 +0200 Subject: [PATCH] CI: Don't run dialyzer with Erlang newer than 25.3 Dialyzer in Erlang 26 requires to add syntax_tools to applications, but when doing that, dialyzer produces 45 errors like The call erl_syntax:... does not have a term of type ... (with opaque subterms) as ... argument --- .github/workflows/ci.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 67fd991..2598ccd 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -20,6 +20,7 @@ jobs: - run: rebar3 compile - run: rebar3 xref - run: rebar3 dialyzer + if: matrix.otp < 26 - run: rebar3 eunit -v cover: