@@ -14,21 +14,25 @@ jobs:
1414 fail-fast : false
1515 matrix :
1616 include :
17- - erlang : " 27.2 "
18- elixir : " 1.18 "
17+ - erlang : " 28.1 "
18+ elixir : " 1.19 "
1919 lint : true
2020 coverage : true
2121 dialyzer : true
22- - erlang : " 24.3" # We technically support OTP 23 but hard to test in CI
22+ # One version down.
23+ - erlang : " 27.2"
24+ elixir : " 1.18"
25+ # Oldest version. We technically support OTP 23 but hard to test in CI
26+ - erlang : " 24.3"
2327 elixir : " 1.14"
2428 dialyzer : true
2529 env :
2630 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
2731 MIX_ENV : test
2832
2933 steps :
30- - name : Checkout this repository
31- uses : actions/checkout@v3
34+ - name : Check out this repository
35+ uses : actions/checkout@v5
3236
3337 - name : Install OTP and Elixir
3438 uses : erlef/setup-beam@v1
3842
3943 - name : Cache dependencies
4044 id : cache-deps
41- uses : actions/cache@v3
45+ uses : actions/cache@v4
4246 with :
4347 path : |
4448 deps
5559 # Don't cache PLTs based on mix.lock hash, as Dialyzer can incrementally update even old ones
5660 # Cache key based on Elixir & Erlang version (also useful when running in matrix)
5761 - name : Cache Dialyzer's PLT
58- uses : actions/cache@v3
62+ uses : actions/cache@v4
5963 id : cache-plt
6064 with :
6165 path : plts
7377 run : DOCKER_USER="$UID:$GID" docker compose up --detach
7478
7579 - name : Check for unused dependencies
76- run : mix do deps.get, deps.unlock --check-unused
80+ run : mix do deps.get --check-locked + deps.unlock --check-unused
7781 if : ${{ matrix.lint && steps.cache-deps.outputs.cache-hit != 'true'}}
7882
7983 - name : Compile with --warnings-as-errors
8589 if : ${{ matrix.lint }}
8690
8791 - name : Run tests
88- run : mix test --trace -- include proxy
92+ run : mix test --include proxy
8993 if : ${{ !matrix.coverage }}
9094
9195 - name : Run tests with coverage
0 commit comments