Skip to content

Bump to 0.4.3

Bump to 0.4.3 #95

Workflow file for this run

name: Elixir CI
on:
push:
branches: [ master, development ]
pull_request:
branches: [ master, development ]
jobs:
build:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v2
- name: Setup elixir
uses: actions/setup-elixir@v1
with:
elixir-version: 1.14.x # Define the elixir version [required]
otp-version: 25.x # Define the OTP version [required]
experimental-otp: true
- name: Install Dependencies
run: mix deps.get
- name: Run Tests
run: mix test
- name: Check Format
run: mix format --check-formatted
- name: Check Credo
run: mix credo
- name: Restore PLT cache
uses: actions/cache@v2
id: plt_cache
with:
key: |
${{ runner.os }}-${{ steps.beam.outputs.elixir-version }}-${{ steps.beam.outputs.otp-version }}-plt
restore-keys: |
${{ runner.os }}-${{ steps.beam.outputs.elixir-version }}-${{ steps.beam.outputs.otp-version }}-plt
path: |
priv/plts
# Create PLTs if no cache was found
- name: Create PLTs
if: steps.plt_cache.outputs.cache-hit != 'true'
run: mix dialyzer --plt
- name: Run dialyzer
run: mix dialyzer