Skip to content

Bump ex_doc

Bump ex_doc #13

Workflow file for this run

# This workflow uses actions that are not certified by GitHub.
# They are provided by a third-party and are governed by
# separate terms of service, privacy policy, and support
# documentation.
name: Elixir CI
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
permissions:
contents: read
jobs:
build:
name: Build and test
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
include:
- elixir: "1.17.0"
otp: "27.0"
- elixir: "1.16.2"
otp: "26.1"
lint: true
- elixir: "1.15.6"
otp: "26.1"
steps:
- uses: actions/checkout@v3
- uses: erlef/setup-beam@v1
with:
otp-version: ${{matrix.otp}}
elixir-version: ${{matrix.elixir}}
- name: Restore dependencies cache
uses: actions/cache@v3
with:
path: deps
key: ${{ runner.os }}-mix-${{matrix.elixir}}-${{matrix.otp}}-${{ hashFiles('**/mix.lock') }}
restore-keys: ${{ runner.os }}-mix-
- name: Install dependencies
run: mix deps.get
- name: Compile with warnings enabled
run: mix compile --force --warnings-as-errors
- name: Format
run: mix format --check-formatted
if: ${{ matrix.lint }}
- name: Test
run: mix test --cover
if: ${{ matrix.lint }}