Merge pull request #36 from ex-aws/dependabot/hex/ex_doc-0.30.7 #94
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: on-push | |
on: [push, pull_request] | |
env: | |
MIX_ENV: test | |
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }} | |
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }} | |
jobs: | |
build: | |
runs-on: ubuntu-20.04 | |
strategy: | |
matrix: | |
otp: [23.x, 24.x, 25.x] | |
elixir: [1.11.x, 1.12.x, 1.13.x, 1.14.x, 1.15.x] | |
exclude: | |
- otp: 25.x | |
elixir: 1.11.x | |
- otp: 25.x | |
elixir: 1.12.x | |
- otp: 23.x | |
elixir: 1.15.x | |
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 | |
- run: mix format --check-formatted | |
if: matrix.elixir == '1.15.x' # Only check formatting with the latest verison | |
- run: mix dialyzer | |
if: matrix.elixir == '1.15.x' | |
- run: mix test |