Skip to content

update elixr and otp version #94

update elixr and otp version

update elixr and otp version #94

Workflow file for this run

name: Elixir CI
on:
push:
branches: [ "master" ]
pull_request:
branches: [ "master" ]
jobs:
build:
name: Build and test
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Firebird
run: |
sudo apt install firebird3.0-server -y
sudo cp attic/firebird.conf /etc/firebird/3.0
sudo systemctl restart firebird3.0
sudo chmod 0664 /etc/firebird/3.0/SYSDBA.password
grep '=' /etc/firebird/3.0/SYSDBA.password |sed 's/^/export /' >test_user.env
- name: Set up Elixir
uses: erlef/setup-beam@v1
with:
elixir-version: '1.15.2' # [Required] Define the Elixir version
otp-version: '26.0' # [Required] Define the Erlang/OTP version
- name: Restore dependencies cache
uses: actions/cache@v3
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: |
source test_user.env
mix test