Skip to content
This repository has been archived by the owner on Aug 17, 2024. It is now read-only.

Update some dependencies #28

Update some dependencies

Update some dependencies #28

Workflow file for this run

name: CI
on:
pull_request:
push:
branches:
- main
jobs:
mix_test:
runs-on: ubuntu-18.04
env:
MIX_ENV: test
services:
pg:
image: postgres:11
env:
POSTGRES_USER: postgres
POSTGRES_PASSWORD: postgres
POSTGRES_DB: postgres
ports:
- 5432:5432
options: --health-cmd pg_isready --health-interval 10s --health-timeout 5s --health-retries 5
strategy:
fail-fast: false
matrix:
include:
- pair:
elixir: 1.12.1
otp: 24.0.2
lint: lint
steps:
- uses: actions/checkout@v2
- uses: erlef/setup-beam@v1
with:
otp-version: ${{matrix.pair.otp}}
elixir-version: ${{matrix.pair.elixir}}
- name: Install Dependencies
run: mix deps.get --only test
- run: mix format --check-formatted
if: ${{ matrix.lint }}
- run: mix deps.get && mix deps.unlock --check-unused
if: ${{ matrix.lint }}
- run: mix deps.compile
- run: mix compile --warnings-as-errors
if: ${{ matrix.lint }}
- run: mix test