Skip to content

Commit fcaa646

Browse files
committed
Update CI config to restore github actions
- Bump the ubuntu version - Bump the elixir/otp matrix - Bump various checkout and caching actions
1 parent 72742c8 commit fcaa646

File tree

1 file changed

+13
-9
lines changed

1 file changed

+13
-9
lines changed

.github/workflows/ci.yml

Lines changed: 13 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -11,31 +11,32 @@ jobs:
1111
fail-fast: false
1212
matrix:
1313
include:
14-
- pair:
15-
elixir: '1.12'
16-
otp: '23.3'
1714
- pair:
1815
elixir: '1.15'
19-
otp: '26.0'
16+
otp: '24.3'
17+
- pair:
18+
elixir: '1.18'
19+
otp: '27.2'
2020
lint: lint
2121

22-
runs-on: ubuntu-20.04
22+
runs-on: ubuntu-24.04
2323

2424
steps:
25-
- uses: actions/checkout@v2
25+
- uses: actions/checkout@v4
2626

2727
- uses: erlef/setup-beam@v1
2828
with:
2929
otp-version: ${{matrix.pair.otp}}
3030
elixir-version: ${{matrix.pair.elixir}}
3131

32-
- uses: actions/cache@v2
32+
- uses: actions/cache@v4
3333
with:
3434
path: |
3535
deps
3636
_build
3737
key: ${{ runner.os }}-mix-${{matrix.pair.elixir}}-${{matrix.pair.otp}}-${{ hashFiles('**/mix.lock') }}
38-
restore-keys: ${{ runner.os }}-mix-${{matrix.pair.elixir}}-${{matrix.pair.otp}}-
38+
restore-keys: |
39+
${{ runner.os }}-mix-${{matrix.pair.elixir}}-${{matrix.pair.otp}}-
3940
4041
- name: Run mix deps.get
4142
run: mix deps.get
@@ -44,6 +45,10 @@ jobs:
4445
run: mix format --check-formatted
4546
if: ${{ matrix.lint }}
4647

48+
- name: Run mix deps.unlock
49+
run: mix deps.unlock --check-unused
50+
if: ${{ matrix.lint }}
51+
4752
- name: Run mix deps.compile
4853
run: mix deps.compile
4954

@@ -57,4 +62,3 @@ jobs:
5762

5863
- name: Run mix test
5964
run: mix test
60-

0 commit comments

Comments
 (0)