From dd532c1c1bb2dd50fb46df8c562dc3ae5c7024a6 Mon Sep 17 00:00:00 2001 From: Tobias Pfeiffer Date: Mon, 26 Feb 2024 13:38:38 +0100 Subject: [PATCH 1/2] Upgrade elixir & erlang --- .github/workflows/main.yml | 4 ++-- .tool-versions | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index c60e1a71..f5473c66 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -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 # @@ -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' diff --git a/.tool-versions b/.tool-versions index 000a611a..df967b06 100644 --- a/.tool-versions +++ b/.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 From 718430e69e8b2169e47a7a365ab6861f3128afb7 Mon Sep 17 00:00:00 2001 From: Tobias Pfeiffer Date: Mon, 26 Feb 2024 13:39:29 +0100 Subject: [PATCH 2/2] Run most special tests on most recent benchee version --- .github/workflows/main.yml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index f5473c66..c33e9cb2 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -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