Skip to content

Commit

Permalink
Update versions in CI
Browse files Browse the repository at this point in the history
  • Loading branch information
whatyouhide committed Jun 21, 2024
1 parent 8217d4d commit 9898c58
Showing 1 changed file with 15 additions and 14 deletions.
29 changes: 15 additions & 14 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,39 +8,40 @@ on:

jobs:
test:
runs-on: ubuntu-20.04
runs-on: ${{ matrix.os }}
env:
MIX_ENV: test
strategy:
fail-fast: false
matrix:
include:
- pair:
elixir: 1.11
otp: 23.3
- pair:
elixir: 1.16
otp: 26.2
# Oldest.
- elixir: "1.11"
otp: "23.3"
os: ubuntu-20.04

# Newest.
- elixir: "1.17"
otp: "27.0"
lint: lint
os: ubuntu-latest

steps:
- uses: actions/checkout@v4

- uses: erlef/setup-beam@v1
with:
otp-version: ${{matrix.pair.otp}}
elixir-version: ${{matrix.pair.elixir}}
otp-version: ${{ matrix.otp }}
elixir-version: ${{ matrix.elixir }}

- name: Install Dependencies
run: mix deps.get --only test
- run: mix deps.get --only test

- run: mix format --check-formatted
if: ${{ matrix.lint }}

- run: mix deps.get && mix deps.unlock --check-unused
- run: mix do deps.get, deps.unlock --check-unused
if: ${{ matrix.lint }}

- run: mix deps.compile

- run: mix compile --warnings-as-errors
if: ${{ matrix.lint }}

Expand Down

0 comments on commit 9898c58

Please sign in to comment.