Skip to content

Commit

Permalink
Update CI/CD dependencies, build matrix
Browse files Browse the repository at this point in the history
  • Loading branch information
juulSme committed Nov 25, 2024
1 parent 0a1e97e commit 2a68df2
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 5 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/cd_workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@ jobs:
- name: Display build environment
run: printenv
- name: Checkout code
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: Cache deps
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: |
deps
Expand Down
14 changes: 11 additions & 3 deletions .github/workflows/ci_workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,16 @@ jobs:
strategy:
# https://hexdocs.pm/elixir/1.14/compatibility-and-deprecations.html#compatibility-between-elixir-and-erlang-otp
matrix:
elixir: [1.14.x, 1.16.x]
otp: [24.x, 26.x]
elixir: [1.14.x, 1.17.x]
otp: [24.x, 25.x, 27.x]
exclude:
- elixir: 1.14.x
otp: 27.x
- elixir: 1.14.x
otp: 25.x
- elixir: 1.17.x
otp: 24.x

steps:
- name: Checkout code
uses: actions/checkout@v4
Expand All @@ -45,7 +53,7 @@ jobs:
run: |
mix deps.get
- name: Check code formatting
if: matrix.elixir == '1.16.x'
if: matrix.elixir == '1.17.x'
run: mix format --check-formatted
- name: Compile dependencies
run: mix deps.compile
Expand Down

0 comments on commit 2a68df2

Please sign in to comment.