Skip to content

Update

Update #6

name: Build and Test
on:
push:
branches:
- main
pull_request:
branches:
- '*'
jobs:
build:
name: Build and test
runs-on: ubuntu-latest
env:
MIX_ENV: test
strategy:
matrix:
elixir: ["1.16.2"]
otp: ["25.3.2"]
steps:
- name: Checkout repository
uses: actions/checkout@v2
- name: Setup Elixir Project
uses: ./.github/actions/elixir-setup
with:
elixir-version: ${{ matrix.elixir }}
otp-version: ${{ matrix.otp }}
build-flags: --all-warnings --warnings-as-errors
- name: Run Tests
run: mix coveralls.json --warnings-as-errors
if: always()