Skip to content

Move from CircleCI to Github Actions #4

Move from CircleCI to Github Actions

Move from CircleCI to Github Actions #4

Workflow file for this run

on: push
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
elixir-version: [1.15, 1.14, 1.13]
otp-version: [26, 25, 24]
exclude:
- elixir-version: 1.13
otp-version: 26
name: Tests
steps:
- uses: actions/checkout@v3
- uses: erlef/setup-beam@v1
with:
elixir-version: ${{ matrix.elixir-version }}
otp-version: ${{ matrix.otp-version }}
- run: mix deps.get
- run: mix compile --warnings-as-errors
- run: mix format --check-formatted
if: ${{ matrix.elixir-version == 1.15 && matrix.otp-version == 26 }}
- run: mix test