Skip to content

More credo fixes and deprecated non-conformant calls #219

More credo fixes and deprecated non-conformant calls

More credo fixes and deprecated non-conformant calls #219

Workflow file for this run

name: "CI"
on: ["push", "pull_request"]
jobs:
test_and_build:
name: "Compile & Lint"
runs-on: "ubuntu-latest"
steps:
- name: Setup elixir
uses: erlef/setup-beam@v1
with:
otp-version: 24.3.3
elixir-version: 1.13.4
- uses: actions/checkout@v1
- run: mix deps.get
- uses: actions/cache@v2
id: mix-cache
with:
path: |
./_build
./priv/plts
key: deps-${{ hashFiles('**/mix.lock') }}
- if: steps.mix-cache.outputs.cache-hit != 'true'
run: |
mkdir -p priv/plts
mix local.rebar --force
mix local.hex --force
mix deps.compile
mix dialyzer --plt
- run: |
mix lint