Update and test Elixir version compatibility #112
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| on: push | |
| jobs: | |
| test: | |
| runs-on: ubuntu-20.04 | |
| name: OTP ${{matrix.versions.otp}} / Elixir ${{matrix.versions.elixir}} | |
| strategy: | |
| matrix: | |
| # Minimum and maximum supported versions | |
| versions: [{ elixir: '1.14.0', otp: '25' }, { elixir: '1.18.0', otp: '26.2.5' }] | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: erlef/setup-beam@v1 | |
| with: | |
| otp-version: ${{matrix.versions.otp}} | |
| elixir-version: ${{matrix.versions.elixir}} | |
| - run: mix deps.unlock --all # compiles and runs tests against latest versions of dependencies | |
| - run: mix deps.get | |
| - run: mix test | |
| - run: mix dialyzer --format github |