Skip to content

Prepare v1.5.0 release #36

Prepare v1.5.0 release

Prepare v1.5.0 release #36

Workflow file for this run

name: CI
on:
push:
branches: [master, main]
pull_request:
branches: [master, main]
env:
MIX_ENV: test
permissions:
contents: read
jobs:
ci:
runs-on: ubuntu-latest
strategy:
matrix:
include:
- elixir: "1.15"
otp: "26"
- elixir: "1.18"
otp: "27"
steps:
- uses: actions/checkout@v4
- uses: erlef/setup-beam@v1
with:
elixir-version: ${{ matrix.elixir }}
otp-version: ${{ matrix.otp }}
- uses: actions/cache@v4
with:
path: |
deps
_build
key: mix-${{ matrix.otp }}-${{ matrix.elixir }}-${{ hashFiles('mix.lock') }}
restore-keys: mix-${{ matrix.otp }}-${{ matrix.elixir }}-
- uses: actions/cache@v4
with:
path: _build/dev/dialyxir*.plt
key: plt-${{ matrix.otp }}-${{ matrix.elixir }}-${{ hashFiles('mix.lock') }}
restore-keys: plt-${{ matrix.otp }}-${{ matrix.elixir }}-
- run: mix deps.get
- run: mix compile --warnings-as-errors
- run: mix format --check-formatted
- run: mix credo --strict
- run: mix dialyzer
- run: mix test
- run: mix ex_dna