Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upgrade elixir #425

Merged
merged 2 commits into from Feb 29, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
16 changes: 8 additions & 8 deletions .github/workflows/main.yml
Expand Up @@ -13,7 +13,7 @@ jobs:
strategy:
matrix:
# Thoroughly check the most recent versions
elixir_version: ['1.13.4', '1.14.5', '1.15.7', '1.16.0']
elixir_version: ['1.13.4', '1.14.5', '1.15.7', '1.16.1']
otp_version: ['23.3', '24.3', '25.3', '26.2']
# Spot check older versions
#
Expand All @@ -37,7 +37,7 @@ jobs:
exclude:
- elixir_version: '1.15.7'
otp_version: '23.3'
- elixir_version: '1.16.0'
- elixir_version: '1.16.1'
otp_version: '23.3'
- elixir_version: '1.13.4'
otp_version: '26.2'
Expand Down Expand Up @@ -65,26 +65,26 @@ jobs:
with:
path: tools/plts
key: erlef-${{ runner.os }}-dialyzer-${{ matrix.elixir_version }}-${{ matrix.otp_version }}-${{ hashFiles(format('{0}{1}', github.workspace, '/mix.lock')) }}
if: contains(matrix.elixir_version, '1.15')
if: contains(matrix.elixir_version, '1.16')
- run: mix deps.get
- run: MIX_ENV=test mix compile --warnings-as-errors
- run: mix credo
if: contains(matrix.elixir_version, '1.15')
if: contains(matrix.elixir_version, '1.16')
- name: Check if formatted
if: contains(matrix.elixir_version, '1.15')
if: contains(matrix.elixir_version, '1.16')
run: mix format --check-formatted
- name: Actual Tests
# this will let warnings slip through but I don't wanna replicate all that magic
# right now
run: MIX_ENV=test mix coveralls.github || mix test --failed
# Apparently the one with `!` can't go without the fancy expression syntax
if: ${{ !contains(matrix.elixir_version, '1.15') }}
if: ${{ !contains(matrix.elixir_version, '1.16') }}
- name: Actual Tests WITH warnings as errors
run: MIX_ENV=test mix coveralls.github --warnings-as-errors || mix test --failed
if: contains(matrix.elixir_version, '1.15')
if: contains(matrix.elixir_version, '1.16')
- name: Dialyzer
run: mix dialyzer --halt-exit-status
if: contains(matrix.elixir_version, '1.15')
if: contains(matrix.elixir_version, '1.16')

macos:
name: Test on MacOS
Expand Down
4 changes: 2 additions & 2 deletions .tool-versions
@@ -1,2 +1,2 @@
elixir 1.16.0-otp-26
erlang 26.2.1
elixir 1.16.1-otp-26
erlang 26.2.2