Skip to content

build(deps-dev): bump excoveralls from 0.15.3 to 0.16.1 (#126) #237

build(deps-dev): bump excoveralls from 0.15.3 to 0.16.1 (#126)

build(deps-dev): bump excoveralls from 0.15.3 to 0.16.1 (#126) #237

Workflow file for this run

name: CI
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
env:
MIX_ENV: test
jobs:
build:
name: Build and test
runs-on: ubuntu-latest
strategy:
matrix:
include:
- otp: 25.1
elixir: 1.14
steps:
- uses: actions/checkout@v3
- name: Set up Elixir
uses: erlef/setup-beam@v1
with:
elixir-version: ${{matrix.elixir}}
otp-version: ${{matrix.otp}}
- name: Dependencies cache
uses: actions/cache@v3
with:
path: deps
key: ${{ runner.os }}-${{ matrix.otp }}-${{ matrix.elixir }}-mix_deps-${{ hashFiles('**/mix.lock') }}
restore-keys: ${{ runner.os }}-${{ matrix.otp }}-${{ matrix.elixir }}-mix_deps-
- name: Build cache
uses: actions/cache@v3
with:
path: _build
key: ${{ runner.os }}-${{ matrix.otp }}-${{ matrix.elixir }}-build-${{ hashFiles('**/mix.lock') }}
restore-keys: ${{ runner.os }}-${{ matrix.otp }}-${{ matrix.elixir }}-build-
- name: Install dependencies
run: mix do local.rebar --force, local.hex --force, deps.get, compile --warnings-as-errors
- name: Check formatting
run: mix format --check-formatted
- name: Lint
run: mix lint
- name: Run Dialyzer
run: mix dialyzer
- name: Run tests w/ coverage
run: mix test