Skip to content

Commit

Permalink
Fix broken CI (#78)
Browse files Browse the repository at this point in the history
  • Loading branch information
binarytemple committed Jun 20, 2023
1 parent 34bd5aa commit e61d907
Showing 1 changed file with 11 additions and 16 deletions.
27 changes: 11 additions & 16 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,44 +1,39 @@
name: CI

on:
pull_request:
push:
branches:
- master

jobs:
test:
runs-on: ubuntu-latest
runs-on: ubuntu-20.04
name: OTP ${{matrix.otp}} / Elixir ${{matrix.elixir}}
env:
MIX_ENV: test
strategy:
fail-fast: false
matrix:
include:
- pair:
elixir: 1.11.4
otp: 23.2
lint: lint
- elixir: '1.11.4'
otp: '23.3'
- elixir: '1.14.5'
otp: '24.3'
- elixir: '1.15.0'
otp: '26.0.1'
steps:
- uses: actions/checkout@v2

- uses: erlef/setup-elixir@v1
with:
otp-version: ${{matrix.pair.otp}}
elixir-version: ${{matrix.pair.elixir}}

otp-version: ${{matrix.otp}}
elixir-version: ${{matrix.elixir}}
version-type: strict
- name: Install Dependencies
run: mix deps.get --only test

- run: mix format --check-formatted
if: ${{ matrix.lint }}

- run: mix deps.get && mix deps.unlock --check-unused
if: ${{ matrix.lint }}

- run: mix deps.compile

- run: mix compile --warnings-as-errors
if: ${{ matrix.lint }}

- run: mix test

0 comments on commit e61d907

Please sign in to comment.