Skip to content

Commit

Permalink
update otp to 26.1.2 - unbuntu to 22.04 - elixir to 1.15.7
Browse files Browse the repository at this point in the history
  • Loading branch information
Kwilliams-dev303 committed May 28, 2024
1 parent cdf65c1 commit a04b467
Show file tree
Hide file tree
Showing 2 changed files with 29 additions and 30 deletions.
57 changes: 28 additions & 29 deletions .github/workflows/elixir.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,40 +6,39 @@ on:
jobs:
build:
name: Build and test
runs-on: ubuntu-18.04
runs-on: ubuntu-22.04
env:
MIX_ENV: test
ELIXIR_ENV: test
strategy:
matrix:
otp: ['22.3.4', '23.2.7', '24.1', '24.3.4']
elixir: ['1.11.4', '1.12.3', '1.15.5']
otp: ["22.3.4", "23.2.7", "24.1", "26.1.2"]
elixir: ["1.11.4", "1.12.3", "1.15.7"]
# exclude:
# Example, but this doesn't need excluded
# - otp: '22.3.4'
# elixir: '1.12.3'

# Example, but this doesn't need excluded
# - otp: '22.3.4'
# elixir: '1.12.3'

steps:
- uses: actions/checkout@v2
- name: Set up Elixir
uses: erlef/setup-elixir@v1
with:
otp-version: ${{matrix.otp}}
elixir-version: ${{matrix.elixir}}

- name: Restore dependencies cache
uses: actions/cache@v2
with:
path: deps
key: ${{ runner.os }}-mix-${{ hashFiles('**/mix.lock') }}
restore-keys: ${{ runner.os }}-mix-

- name: Install dependencies
run: mix deps.get

- name: Run tests
run: mix test

- name: Formatter
run: mix format --check-formatted
- uses: actions/checkout@v2
- name: Set up Elixir
uses: erlef/setup-elixir@v1
with:
otp-version: ${{matrix.otp}}
elixir-version: ${{matrix.elixir}}

- name: Restore dependencies cache
uses: actions/cache@v2
with:
path: deps
key: ${{ runner.os }}-mix-${{ hashFiles('**/mix.lock') }}
restore-keys: ${{ runner.os }}-mix-

- name: Install dependencies
run: mix deps.get

- name: Run tests
run: mix test

- name: Formatter
run: mix format --check-formatted
2 changes: 1 addition & 1 deletion mix.exs
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ defmodule PushEx.MixProject do
[
app: :push_ex,
version: @version,
elixir: "~> 1.15.5",
elixir: "~> 1.15.7",
elixirc_paths: elixirc_paths(Mix.env()),
compilers: Mix.compilers(),
elixirc_options: [warnings_as_errors: true],
Expand Down

0 comments on commit a04b467

Please sign in to comment.