Skip to content

Commit

Permalink
Merge pull request #165 from leandrocp/lp-ci-lint
Browse files Browse the repository at this point in the history
CI - minimum OTP 25 / Elixir 1.14
  • Loading branch information
kipcole9 authored Sep 13, 2024
2 parents 12d6f10 + 2df6191 commit 5a76469
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,16 +40,18 @@ jobs:
runs-on: ubuntu-latest
name: Test on OTP ${{matrix.otp}} / Elixir ${{matrix.elixir}}
strategy:
fail-fast: false
# Specify the OTP and Elixir versions to use when building
# and running the workflow steps.
matrix:
include:
# minimum required versions
- otp: "26.2"
elixir: "1.14.4-otp-26"
- otp: "25.3"
elixir: "1.14.4-otp-25"
# latest
- otp: "27"
elixir: "1.17.2-otp-27"
lint: true
steps:
# Step: Setup Elixir + Erlang image as the base.
- name: Set up Elixir
Expand Down Expand Up @@ -132,6 +134,7 @@ jobs:
# Customize this step if a different behavior is desired.
- name: Compiles without warnings
run: mix compile --warnings-as-errors
if: ${{ matrix.lint }}

# Step: Check that the checked in code has already been formatted.
# This step fails if something was found unformatted.
Expand All @@ -146,3 +149,4 @@ jobs:
# Step: Execute dialyzer.
- name: Run dialyzer
run: mix dialyzer
if: ${{ matrix.lint }}

0 comments on commit 5a76469

Please sign in to comment.