@@ -11,16 +11,19 @@ jobs:
1111 strategy :
1212 fail-fast : false
1313 matrix :
14+ # should always contain the 4 most recent stable Elixir minor versions and
15+ # the 3 most recent stable Erlang/OTP major versions, excluding incompatible combinations.
16+ # run `mise ls-remote` or `asdf list all` to get all versions and compatibilities or
1417 # see https://hexdocs.pm/elixir/compatibility-and-deprecations.html#between-elixir-and-erlang-otp
15- elixir : [1.19.0-rc.2 , 1.18.4, 1.17.3, 1.16.3]
16- otp : [28.1 , 27.3.4.3 , 26.2.5.15 ]
18+ elixir : [1.19.5 , 1.18.4, 1.17.3, 1.16.3]
19+ otp : [28.3 , 27.3.4.6 , 26.2.5.16 ]
1720 exclude :
18- - elixir : 1.17.3
19- otp : 28.1
20- - elixir : 1.16.3
21- otp : 28.1
22- - elixir : 1.16.3
23- otp : 27.3.4.3
21+ - elixir : 1.17.3
22+ otp : 28.3
23+ - elixir : 1.16.3
24+ otp : 28.3
25+ - elixir : 1.16.3
26+ otp : 27.3.4.6
2427
2528 services :
2629 postgres :
@@ -37,47 +40,47 @@ jobs:
3740 MIX_ENV : test
3841
3942 steps :
40- - uses : actions/checkout@v5
43+ - uses : actions/checkout@v5
4144
42- - name : Setup Erlang & Elixir
43- uses : erlef/setup-beam@v1
44- with :
45- elixir-version : ${{ matrix.elixir }}
46- otp-version : ${{ matrix.otp }}
47- version-type : strict
45+ - name : Setup Erlang & Elixir
46+ uses : erlef/setup-beam@v1
47+ with :
48+ elixir-version : ${{ matrix.elixir }}
49+ otp-version : ${{ matrix.otp }}
50+ version-type : strict
4851
49- # Caching
50- - name : Dependencies cache
51- uses : actions/cache@v4
52- with :
53- path : deps
54- key : ${{ runner.os }}-deps-${{ hashFiles('mix.lock') }}
55- restore-keys : |
56- ${{ runner.os }}-deps-${{ hashFiles('mix.lock') }}
52+ # Caching
53+ - name : Dependencies cache
54+ uses : actions/cache@v4
55+ with :
56+ path : deps
57+ key : ${{ runner.os }}-deps-${{ hashFiles('mix.lock') }}
58+ restore-keys : |
59+ ${{ runner.os }}-deps-${{ hashFiles('mix.lock') }}
5760
58- - name : Build cache
59- uses : actions/cache@v4
60- with :
61- path : _build
62- key : ${{ runner.os }}-build-test-${{matrix.elixir}}-${{matrix.otp}}-${{ hashFiles('mix.lock') }}
63- restore-keys : |
64- ${{ runner.os }}-build-test-${{matrix.elixir}}-${{matrix.otp}}-
61+ - name : Build cache
62+ uses : actions/cache@v4
63+ with :
64+ path : _build
65+ key : ${{ runner.os }}-build-test-${{matrix.elixir}}-${{matrix.otp}}-${{ hashFiles('mix.lock') }}
66+ restore-keys : |
67+ ${{ runner.os }}-build-test-${{matrix.elixir}}-${{matrix.otp}}-
6568
66- # Setup
67- - name : Install dependencies
68- run : mix deps.get
69+ # Setup
70+ - name : Install dependencies
71+ run : mix deps.get
6972
70- # Checks
71- - name : Compiler warnings (test)
72- run : mix compile --warnings-as-errors --force
73+ # Checks
74+ - name : Compiler warnings (test)
75+ run : mix compile --warnings-as-errors --force
7376
74- - name : Test suite
75- run : mix test || mix test --failed || mix test --failed || mix test --failed || mix test --failed
76- env :
77- WARNINGS_AS_ERRORS : " true"
77+ - name : Test suite
78+ run : mix test || mix test --failed || mix test --failed || mix test --failed || mix test --failed
79+ env :
80+ WARNINGS_AS_ERRORS : " true"
7881
79- - name : Code format
80- run : mix format --check-formatted --dry-run
82+ - name : Code format
83+ run : mix format --check-formatted --dry-run
8184
8285 docs :
8386 name : Docs
8689 uses : ./.github/workflows/publish-docs.yml
8790 secrets : inherit
8891 with :
89- elixir_version : 1.18.4
90- otp_version : 27.3.4 .3
92+ elixir_version : 1.19.5
93+ otp_version : 28 .3
9194
9295 release :
9396 name : Release
9699 uses : ./.github/workflows/publish-release.yml
97100 secrets : inherit
98101 with :
99- elixir_version : 1.18.4
100- otp_version : 27.3.4 .3
102+ elixir_version : 1.19.5
103+ otp_version : 28 .3
0 commit comments