From 526494f765ad9570a4c24b3fa1c594d49f660cb5 Mon Sep 17 00:00:00 2001 From: Alexandre Hamez Date: Fri, 15 Nov 2024 16:17:42 +0100 Subject: [PATCH] ci: launch dialyzer only for recent versions of Elixir For older versions, it fails to find Jason.decode! (certainly because it's decided at compile if we use it) --- .github/workflows/elixir.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/elixir.yml b/.github/workflows/elixir.yml index f3434dc..1479d35 100644 --- a/.github/workflows/elixir.yml +++ b/.github/workflows/elixir.yml @@ -29,12 +29,15 @@ jobs: otp: "25" - elixir: "1.15" otp: "26" + dialyzer: true - elixir: "1.16" otp: "26" + dialyzer: true - elixir: "1.17" otp: "27" check_format: true check_deps: true + dialyzer: true steps: - uses: actions/checkout@v4 @@ -111,3 +114,4 @@ jobs: - name: Dialyzer run: mix dialyzer + if: ${{ matrix.dialyzer }}