Skip to content

Commit 3414da7

Browse files
committed
ci: Go back to ubuntu-20.04 for old OTP versions
only >=24.2 are available on 22.04
1 parent 45ad701 commit 3414da7

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

.github/workflows/ci.yml

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,28 +2,36 @@
22

33
jobs:
44
test:
5-
runs-on: ubuntu-latest
5+
runs-on: ${{matrix.os}}
66
name: OTP ${{matrix.otp}} / Elixir ${{matrix.elixir}}
77
strategy:
88
fail-fast: false
99
matrix:
1010
include:
1111
- otp: '20' # for some reason, erlef/setup-beam@v1 fails on 19
1212
elixir: '1.7.4'
13+
os: 'ubuntu-20.04'
1314
- otp: '22'
1415
elixir: '1.7.4'
16+
os: 'ubuntu-20.04'
1517
- otp: '20'
1618
elixir: '1.9'
19+
os: 'ubuntu-20.04'
1720
- otp: '22'
1821
elixir: '1.9'
22+
os: 'ubuntu-20.04'
1923
- otp: '21'
2024
elixir: '1.11'
25+
os: 'ubuntu-20.04'
2126
- otp: '24'
2227
elixir: '1.11'
28+
os: 'ubuntu-22.04'
2329
- otp: '22'
2430
elixir: '1.13'
31+
os: 'ubuntu-20.04'
2532
- otp: '24'
2633
elixir: '1.13'
34+
os: 'ubuntu-22.04'
2735
steps:
2836
- uses: actions/checkout@v2
2937
- uses: erlef/setup-beam@v1

0 commit comments

Comments
 (0)