Skip to content

version 1.1.2

version 1.1.2 #49

Workflow file for this run

name: Elixir CI
on: [push, pull_request]
permissions:
contents: read
jobs:
build:
name: Build and test
runs-on: ubuntu-20.04
strategy:
matrix:
meili: [1.0.2, 1.1.1, 1.2.0]
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
MIX_ENV: test
MEILI: ${{ matrix.meili }}
steps:
- uses: actions/checkout@v3
- name: Set up Elixir
uses: erlef/setup-beam@v1
with:
version-type: strict
version-file: .tool-versions
- 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: Lint checks
run: mix credo
- name: Run tests with coverage
run: mix coveralls.github