Skip to content

WIP: Upgrade CI

WIP: Upgrade CI #82

Workflow file for this run

name: CI
on: push
jobs:
build:
runs-on: ubuntu-latest
name: OTP ${{matrix.otp}} / Elixir ${{matrix.elixir}}
strategy:
matrix:
otp: ["22", "23", "24"]
elixir: ["1.11.4", "1.12.3", "1.13.4"]
steps:
- uses: actions/checkout@v3
- uses: erlef/setup-beam@v1
with:
otp-version: ${{matrix.otp}}
elixir-version: ${{matrix.elixir}}
version-type: "strict"
- name: Install dependencies
run: mix deps.get
- name: Run tests
run: mix test
- name: Check format
run: mix format --check-formatted
- name: Check quality
run: mix credo --all --strict || true