Bump meta_logger (#17) #52
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: analytics-elixir | |
on: | |
push: | |
branches: | |
- "*" | |
tags-ignore: | |
- "*" | |
jobs: | |
build: | |
name: Build and test | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Setup Elixir | |
uses: actions/setup-elixir@v1 | |
with: | |
elixir-version: "1.12.1" | |
otp-version: "23.0.4" | |
experimental-otp: true | |
- name: Restore dependencies cache | |
uses: actions/cache@v2 | |
with: | |
path: deps | |
key: ${{ runner.os }}-mix-${{ hashFiles('**/mix.lock') }} | |
restore-keys: ${{ runner.os }}-mix- | |
- name: Install dependencies | |
run: mix deps.get | |
- name: Check formatted | |
run: mix format --check-formatted | |
- name: Run tests | |
env: | |
MIX_ENV: test | |
run: mix test | |
- name: Run Dialyzer | |
env: | |
MIX_ENV: dev | |
run: mix dialyzer |