Skip to content

Commit 60d463c

Browse files
committed
ci: add Elixir v1.16 to legacy jobs
1 parent 1d1889d commit 60d463c

File tree

1 file changed

+33
-0
lines changed

1 file changed

+33
-0
lines changed

.github/workflows/legacy.yml

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,39 @@ on:
44
push:
55

66
jobs:
7+
v1dot16:
8+
runs-on: ubuntu-22.04
9+
name: elixir-${{ matrix.elixir }}-otp-${{ matrix.otp }}
10+
strategy:
11+
matrix:
12+
otp: ["25", "26", "27", "28"]
13+
elixir: ["1.16"]
14+
services:
15+
postgres:
16+
image: postgres:16.1-alpine3.19
17+
ports:
18+
- 5432:5432
19+
env:
20+
POSTGRES_PASSWORD: postgres
21+
options: >-
22+
--health-cmd pg_isready
23+
--health-interval 10s
24+
--health-timeout 5s
25+
--health-retries 5
26+
steps:
27+
- uses: actions/checkout@v3
28+
- uses: erlef/setup-beam@v1
29+
with:
30+
otp-version: ${{ matrix.otp }}
31+
elixir-version: ${{ matrix.elixir }}
32+
- uses: actions/cache@v3
33+
with:
34+
path: deps
35+
key: deps_${{ runner.os }}_${{ matrix.otp }}_${{ matrix.elixir }}_${{ hashFiles('mix.lock') }}
36+
37+
- run: MIX_ENV=test mix do deps.get + deps.compile + compile
38+
- run: mix test
39+
740
v1dot15:
841
runs-on: ubuntu-22.04
942
name: elixir-${{ matrix.elixir }}-otp-${{ matrix.otp }}

0 commit comments

Comments
 (0)