Skip to content

support more metadata types #52

support more metadata types

support more metadata types #52

Workflow file for this run

name: CI
on: [pull_request]
jobs:
test:
runs-on: ubuntu-20.04
strategy:
matrix:
otp: ['24', '25', '26']
elixir: ['1.14', '1.15']
include:
- otp: '23'
elixir: '1.14'
steps:
- uses: actions/checkout@v2
- name: Setup elixir
uses: erlef/setup-beam@v1
with:
elixir-version: ${{ matrix.elixir }}
otp-version: ${{ matrix.otp }}
- name: Retrieve Mix Dependencies Cache
uses: actions/cache@v1
id: mix-cache
with:
path: deps
key: ${{ runner.os }}-${{ matrix.otp }}-${{ matrix.elixir }}-mix-${{ hashFiles(format('{0}{1}', github.workspace, '/mix.lock')) }}
- name: Install Mix Dependencies
if: steps.mix-cache.outputs.cache-hit != 'true'
run: |
mix local.rebar --force
mix local.hex --force
mix deps.get
- name: Run Credo
run: mix credo --strict
- name: Run Tests
run: mix test