Skip to content

Upgrade OTP version from v23 -> v24 #171

Upgrade OTP version from v23 -> v24

Upgrade OTP version from v23 -> v24 #171

Workflow file for this run

name: Elixir CI
on: [push, pull_request]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Setup elixir
uses: erlef/setup-beam@v1
with:
elixir-version: 1.11.2 # Define the elixir version [required]
otp-version: 24.3.4.17 # Define the OTP version [required]
- uses: actions/cache@v1
with:
path: deps
key: ${{ runner.os }}-mix-${{ hashFiles(format('{0}{1}', github.workspace, '/mix.lock')) }}
restore-keys: |
${{ runner.os }}-mix-${{ hashFiles(format('{0}{1}', github.workspace, '/mix.lock')) }}
- name: Install Dependencies
run: |
mix local.rebar --force
mix local.hex --force
mix deps.get
- name: Run Tests
run: mix test
- name: Build escript
run: mix escript.build