Skip to content

v0.8.0 checksum

v0.8.0 checksum #37

Workflow file for this run

name: Elixir CI
on: push
jobs:
build:
runs-on: ubuntu-latest
env:
RUST_TOOLCHAIN: stable
TOOLCHAIN_PROFILE: minimal
name: Elixir ${{ matrix.pair.elixir }} / OTP ${{ matrix.pair.otp }}
strategy:
fail-fast: false
matrix:
include:
- pair:
elixir: 1.11.4
otp: 24.2
- pair:
elixir: 1.14.0
otp: 25.0.4
lint: lint
steps:
- name: Checkout sources
uses: actions/checkout@v3
- name: Install toolchain
uses: actions-rs/toolchain@v1
with:
profile: ${{ env.TOOLCHAIN_PROFILE }}
toolchain: ${{ env.RUST_TOOLCHAIN }}
override: true
- uses: erlef/[email protected]
with:
otp-version: ${{ matrix.pair.otp }}
elixir-version: ${{ matrix.pair.elixir }}
- name: Install Dependencies
run: mix deps.get
- 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 test