Skip to content

Nix flake support

Nix flake support #124

Workflow file for this run

name: ci
on: [push, pull_request]
jobs:
build:
name: Elixir ${{matrix.elixir}} (Erlang/OTP ${{matrix.otp}})
runs-on: ubuntu-latest
strategy:
matrix:
otp: ['26']
elixir: ['1.14', '1.15', '1.16']
steps:
- uses: actions/checkout@v2
- uses: erlef/setup-beam@v1
with:
otp-version: ${{ matrix.otp }}
elixir-version: ${{ matrix.elixir }}
- run: mix deps.get
- run: mix compile --warnings-as-errors
# - run: mix credo --strict
- name: "Check formatted?"
run: mix format mix.exs "{lib,test}/**/*.{ex,exs}" --check-formatted
if: ${{ startsWith(matrix.elixir, '1.11XX') }}
- run: mix test