Skip to content

Commit

Permalink
Update ci workflow to include Elixir 1.15/OTP 26
Browse files Browse the repository at this point in the history
- Also begin to remove support for outdated Elixir + OTP versions (Elixir < 1.13.x, OTP < 24.x)
- see https://github.com/erlef/setup-beam#compatibility-between-operating-system-and-erlangotp
for Ubuntu Linux compatibility with OTP
  • Loading branch information
treble37 committed Oct 5, 2023
1 parent 6015770 commit b345e14
Showing 1 changed file with 18 additions and 23 deletions.
41 changes: 18 additions & 23 deletions .github/workflows/nested_filter_ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,45 +9,40 @@ on:
jobs:
test-elixir:
name: Build and test
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
env:
MIX_ENV: test
FORCE_COLOR: 1
strategy:
fail-fast: false
matrix:
elixir: [1.14.x, 1.13.x, 1.12.x, 1.11.x, 1.10.x, 1.9.x, 1.8.x, 1.7.x]
include:
- elixir: 1.7.x
otp: 20.x
- elixir: 1.8.x
otp: 20.x
- elixir: 1.9.x
otp: 21.x
- elixir: 1.10.x
otp: 22.x
- elixir: 1.11.x
otp: 23.x
- elixir: 1.12.x
otp: 24.x
- elixir: 1.13.x
otp: 25.x
- elixir: 1.14.x
otp: 25.x
- pair:
elixir: 1.13.x
otp: 24.3
- pair:
elixir: 1.14.x
otp: 25.3
- pair:
elixir: 1.15.6
otp: 26.0.2

steps:
- uses: actions/checkout@v3
- name: Set up Elixir
uses: erlef/setup-beam@v1
with:
otp-version: ${{ matrix.otp }}
elixir-version: ${{ matrix.elixir }}
otp-version: ${{ matrix.pair.otp }}
elixir-version: ${{ matrix.pair.elixir }}
- name: Restore dependencies cache
uses: actions/cache@v3
with:
path: deps
key: ${{ runner.os }}-mix-${{ hashFiles('**/mix.lock') }}-${{ matrix.otp }}
restore-keys: ${{ runner.os }}-mix-
key: mix-${{ runner.os }}-${{ hashFiles('**/mix.lock') }}-${{ matrix.pair.otp }}
restore-keys: mix-${{ runner.os }}-
- name: Install dependencies
run: mix deps.get --force
run: mix deps.get --only test
- name: Compile deps
run: mix deps.compile
- name: Run tests
run: mix test

0 comments on commit b345e14

Please sign in to comment.