Skip to content

Minor performance fixes #13

Minor performance fixes

Minor performance fixes #13

Workflow file for this run

name: Elixir CI
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
permissions:
contents: read
jobs:
test:
name: Build and test
runs-on: ubuntu-latest
env:
MIX_ENV: test
strategy:
matrix:
otp: ["24.0"]
elixir: ["1.13"]
steps:
- uses: actions/checkout@v3
- uses: erlef/setup-elixir@v1
with:
otp-version: ${{matrix.otp}}
elixir-version: ${{matrix.elixir}}
- 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: Compile
run: mix compile --warnings-as-errors
- name: Run tests
run: mix test