Skip to content

Bump ex_doc from 0.30.6 to 0.30.9 (#17) #52

Bump ex_doc from 0.30.6 to 0.30.9 (#17)

Bump ex_doc from 0.30.6 to 0.30.9 (#17) #52

Workflow file for this run

name: test
on:
push: {branches: main}
pull_request: {branches: main}
jobs:
test:
runs-on: ubuntu-20.04
env:
MIX_ENV: test
strategy:
fail-fast: false
matrix:
include:
- elixir: '1.11'
otp: 23
- elixir: '1.15'
otp: 26
lint: lint
steps:
- uses: actions/checkout@v3
- uses: erlef/setup-beam@v1
with:
otp-version: ${{ matrix.otp }}
elixir-version: ${{ matrix.elixir }}
- uses: actions/cache@v3
with:
path: |
deps
_build
key: ${{ runner.os }}-mix-${{ matrix.elixir }}-${{ matrix.otp }}-${{ hashFiles('**/mix.lock') }}
restore-keys: |
${{ runner.os }}-mix-${{ matrix.elixir }}-${{ matrix.otp }}-
- run: mix deps.get --only test
- run: mix format --check-formatted
if: ${{ matrix.lint }}
- run: mix deps.unlock --check-unused
if: ${{ matrix.lint }}
- run: mix deps.compile
- run: mix compile --warnings-as-errors
if: ${{ matrix.lint }}
- run: mix credo --strict
if: ${{ matrix.lint }}
- name: Run mix test
run: mix test