Skip to content

Commit

Permalink
ci: launch dialyzer only for recent versions of Elixir
Browse files Browse the repository at this point in the history
For older versions, it fails to find Jason.decode! (certainly because it's decided at compile if we use it)
  • Loading branch information
ahamez committed Nov 15, 2024
1 parent f45062e commit 526494f
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/elixir.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -111,3 +114,4 @@ jobs:

- name: Dialyzer
run: mix dialyzer
if: ${{ matrix.dialyzer }}

0 comments on commit 526494f

Please sign in to comment.