From 25642eb427f2e93402ffb8eebfabe7ea3e0d75b8 Mon Sep 17 00:00:00 2001 From: Jeremy Huffman Date: Sun, 19 Mar 2023 11:24:08 -0400 Subject: [PATCH 1/5] Use explicit ubuntu version with matrix support. --- .github/workflows/test.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 7793495..2f7fbfc 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -10,7 +10,7 @@ jobs: check_duplicate_runs: name: Check for duplicate runs continue-on-error: true - runs-on: ubuntu-latest + runs-on: ubuntu20 outputs: should_skip: ${{ steps.skip_check.outputs.should_skip }} steps: @@ -25,7 +25,7 @@ jobs: test: name: Elixir ${{matrix.elixir}} / OTP ${{matrix.otp}} - runs-on: ubuntu-latest + runs-on: ubuntu20 needs: check_duplicate_runs if: ${{ needs.check_duplicate_runs.outputs.should_skip != 'true' }} From 162a889d3892cca801a1a97fdfaae852573ca0d0 Mon Sep 17 00:00:00 2001 From: Jeremy Huffman Date: Sun, 19 Mar 2023 12:19:47 -0400 Subject: [PATCH 2/5] use an actual version --- .github/workflows/test.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 2f7fbfc..a61973a 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -10,13 +10,14 @@ jobs: check_duplicate_runs: name: Check for duplicate runs continue-on-error: true - runs-on: ubuntu20 + runs-on: ubuntu-20.04 outputs: should_skip: ${{ steps.skip_check.outputs.should_skip }} steps: - id: skip_check uses: fkirc/skip-duplicate-actions@master with: + github_token: ${{ github.token }} concurrent_skipping: always cancel_others: true skip_after_successful_duplicate: true @@ -25,7 +26,7 @@ jobs: test: name: Elixir ${{matrix.elixir}} / OTP ${{matrix.otp}} - runs-on: ubuntu20 + runs-on: ubuntu-20.04 needs: check_duplicate_runs if: ${{ needs.check_duplicate_runs.outputs.should_skip != 'true' }} From 69416e04525089d04d1f4d0d0a3717ed49b105a6 Mon Sep 17 00:00:00 2001 From: Jeremy Huffman Date: Sun, 19 Mar 2023 12:30:20 -0400 Subject: [PATCH 3/5] Update Matrix versions to latest & prior two. --- .github/workflows/test.yml | 13 +++++-------- 1 file changed, 5 insertions(+), 8 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index a61973a..51bbbdf 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -34,16 +34,13 @@ jobs: fail-fast: false matrix: elixir: - - '1.10.4' - - '1.11.4' - - '1.12.2' + - '1.12.3' + - '1.13.4' + - '1.14.3' otp: - - '22.3' - '23.3' - - '24.0' - exclude: - - elixir: '1.10.4' - otp: '24.0' + - '24.3' + - '25.3' steps: - name: Checkout From c13a56f89edbb0ac43aaedb8f147cdf6cabd84ac Mon Sep 17 00:00:00 2001 From: Jeremy Huffman Date: Sun, 19 Mar 2023 12:32:19 -0400 Subject: [PATCH 4/5] This combo doesn't exist. --- .github/workflows/test.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 51bbbdf..9a55700 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -42,6 +42,10 @@ jobs: - '24.3' - '25.3' + exclude: + - elixir: '1.12.3' + otp: '25.3' + steps: - name: Checkout uses: actions/checkout@v2 From 48bdc321b24bacd2cf1ef4fbd93327f4ad2ae78e Mon Sep 17 00:00:00 2001 From: Jeremy Huffman Date: Sun, 19 Mar 2023 12:51:53 -0400 Subject: [PATCH 5/5] Fix unmatched return warning. --- .tool-versions | 4 ++-- lib/dialyxir/project.ex | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.tool-versions b/.tool-versions index a3c95f7..b245c79 100644 --- a/.tool-versions +++ b/.tool-versions @@ -1,2 +1,2 @@ -elixir 1.12.2 -erlang 24.0.5 +elixir 1.14.3-otp-25 +erlang 25.2.2 diff --git a/lib/dialyxir/project.ex b/lib/dialyxir/project.ex index 0df5b5f..5c47ee9 100644 --- a/lib/dialyxir/project.ex +++ b/lib/dialyxir/project.ex @@ -42,7 +42,7 @@ defmodule Dialyxir.Project do def cons_apps do # compile & load all deps paths - Mix.Tasks.Deps.Loadpaths.run([]) + _ = Mix.Tasks.Deps.Loadpaths.run([]) # compile & load current project paths Mix.Task.run("compile") apps = plt_apps() || plt_add_apps() ++ include_deps()