Skip to content

Merge pull request #1 from liveview-native/Documentation #12

Merge pull request #1 from liveview-native/Documentation

Merge pull request #1 from liveview-native/Documentation #12

Workflow file for this run

name: Elixir CI
on:
pull_request:
push:
branches: [main]
permissions:
contents: read
env:
MIX_ENV: test
jobs:
build:
name: Build and test
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v3
- name: Set up Elixir
uses: erlef/setup-beam@v1
with:
elixir-version: '1.15.0' # Define the elixir version [required]
otp-version: '25.0' # Define the OTP version [required]
- 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: mix test