Skip to content

Commit 605846c

Browse files
authored
Merge pull request #485 from jeremyjh/jh-ubuntu20-ci
Use explicit ubuntu version with matrix support.
2 parents 8073eaa + ee31585 commit 605846c

File tree

3 files changed

+14
-12
lines changed

3 files changed

+14
-12
lines changed

.github/workflows/test.yml

+11-9
Original file line numberDiff line numberDiff line change
@@ -10,13 +10,14 @@ jobs:
1010
check_duplicate_runs:
1111
name: Check for duplicate runs
1212
continue-on-error: true
13-
runs-on: ubuntu-latest
13+
runs-on: ubuntu-20.04
1414
outputs:
1515
should_skip: ${{ steps.skip_check.outputs.should_skip }}
1616
steps:
1717
- id: skip_check
1818
uses: fkirc/skip-duplicate-actions@master
1919
with:
20+
github_token: ${{ github.token }}
2021
concurrent_skipping: always
2122
cancel_others: true
2223
skip_after_successful_duplicate: true
@@ -25,24 +26,25 @@ jobs:
2526

2627
test:
2728
name: Elixir ${{matrix.elixir}} / OTP ${{matrix.otp}}
28-
runs-on: ubuntu-latest
29+
runs-on: ubuntu-20.04
2930
needs: check_duplicate_runs
3031
if: ${{ needs.check_duplicate_runs.outputs.should_skip != 'true' }}
3132

3233
strategy:
3334
fail-fast: false
3435
matrix:
3536
elixir:
36-
- '1.10.4'
37-
- '1.11.4'
38-
- '1.12.2'
37+
- '1.12.3'
38+
- '1.13.4'
39+
- '1.14.3'
3940
otp:
40-
- '22.3'
4141
- '23.3'
42-
- '24.0'
42+
- '24.3'
43+
- '25.3'
44+
4345
exclude:
44-
- elixir: '1.10.4'
45-
otp: '24.0'
46+
- elixir: '1.12.3'
47+
otp: '25.3'
4648

4749
steps:
4850
- name: Checkout

.tool-versions

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
elixir 1.12.2
2-
erlang 24.0.5
1+
elixir 1.14.3-otp-25
2+
erlang 25.2.2

lib/dialyxir/project.ex

+1-1
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ defmodule Dialyxir.Project do
4242

4343
def cons_apps do
4444
# compile & load all deps paths
45-
Mix.Tasks.Deps.Loadpaths.run([])
45+
_ = Mix.Tasks.Deps.Loadpaths.run([])
4646
# compile & load current project paths
4747
Mix.Task.run("compile")
4848
apps = plt_apps() || plt_add_apps() ++ include_deps()

0 commit comments

Comments
 (0)