Bump ex_doc from 0.29.2 to 0.35.1 #177
Workflow file for this run
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
# Based upon https://github.com/absinthe-graphql/absinthe/blob/master/.github/workflows/elixir.yml | |
# Copyright (c) Bruce Williams, Ben Wilson | |
name: CI | |
on: | |
push: | |
pull_request: | |
branches: | |
- main | |
jobs: | |
test: | |
name: Elixir ${{matrix.elixir}} / OTP ${{matrix.otp}} | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
elixir: | |
- "1.11" | |
- "1.12" | |
otp: | |
- "23" | |
- "24" | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v2 | |
- name: Set up Elixir | |
uses: erlef/setup-elixir@v1 | |
with: | |
elixir-version: ${{ matrix.elixir }} | |
otp-version: ${{ matrix.otp }} | |
- name: Restore deps cache | |
uses: actions/cache@v2 | |
with: | |
path: | | |
deps | |
_build | |
key: deps-${{ runner.os }}-${{ matrix.otp }}-${{ matrix.elixir }}-${{ hashFiles('**/mix.lock') }}-${{ github.sha }} | |
restore-keys: | | |
deps-${{ runner.os }}-${{ matrix.otp }}-${{ matrix.elixir }}-${{ hashFiles('**/mix.lock') }} | |
deps-${{ runner.os }}-${{ matrix.otp }}-${{ matrix.elixir }} | |
- name: Install package dependencies | |
run: mix deps.get | |
- name: Check Formatting | |
run: mix format --check-formatted | |
- name: Run unit tests | |
run: | | |
mix clean | |
mix test |