Skip to content

Merge pull request #15 from AppMonet/test-ci #12

Merge pull request #15 from AppMonet/test-ci

Merge pull request #15 from AppMonet/test-ci #12

Workflow file for this run

name: Test
on: [push]
jobs:
test:
name: Test
runs-on: ubuntu-latest
steps:
- uses: erlef/setup-beam@v1
with:
otp-version: 27.0
elixir-version: 1.18.0
- uses: actions/checkout@v4
- uses: actions/cache@v4
with:
path: deps
key: ${{ runner.os }}-mix-${{ hashFiles(format('{0}{1}', github.workspace, '/mix.lock')) }}
restore-keys: |
${{ runner.os }}-mix-
- uses: actions/cache@v4
with:
path: _build
key: ${{ runner.os }}-build-${{ hashFiles(format('{0}{1}', github.workspace, '/mix.lock')) }}
restore-keys: |
${{ runner.os }}-build-
- run: mix deps.get
- name: Run tests
run: mix test