Update dependencies #26
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: CI | |
on: [push, pull_request] | |
jobs: | |
format: | |
name: Validation of source code | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2.3.1 | |
- name: Install OTP and Elixir | |
uses: erlef/setup-beam@v1 | |
with: | |
otp-version: 26.0 | |
elixir-version: 1.14.5 | |
- name: Install dependencies | |
run: mix deps.get | |
- name: Run validations | |
run: mix validate | |
test: | |
name: Test (Elixir ${{matrix.elixir}} | Erlang/OTP ${{matrix.otp}}) | |
runs-on: ubuntu-latest | |
strategy: | |
fail-fast: false | |
matrix: | |
include: | |
- elixir: 1.14.x | |
otp: 26 | |
- elixir: 1.14.x | |
otp: 25 | |
- elixir: 1.13.x | |
otp: 24 | |
- elixir: 1.12.x | |
otp: 24 | |
env: | |
MIX_ENV: test | |
steps: | |
- uses: actions/checkout@v1 | |
- name: Install OTP and Elixir | |
uses: erlef/setup-beam@v1 | |
with: | |
otp-version: ${{matrix.otp}} | |
elixir-version: ${{matrix.elixir}} | |
- name: Install dependencies | |
run: mix deps.get --only test | |
- name: Run tests | |
run: mix test --trace |