Fix ex_doc error #39
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
--- | |
name: build | |
on: | |
push: | |
branches: | |
- master | |
pull_request: | |
branches: | |
- master | |
jobs: | |
ci: | |
name: Run checks and tests over ${{matrix.otp_vsn}} and ${{matrix.os}} | |
runs-on: ${{matrix.os}} | |
strategy: | |
matrix: | |
otp_vsn: [22, 23, 24] | |
os: [ubuntu-latest] | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: erlef/setup-beam@v1 | |
id: setup-beam | |
with: | |
otp-version: ${{matrix.otp_vsn}} | |
rebar3-version: '3.18' | |
- name: restore _build | |
uses: actions/cache@v2 | |
with: | |
path: _build | |
key: _build-cache-for-os-${{runner.os}}-otp-${{steps.setup-beam.outputs.otp-version}}-rebar3-${{steps.setup-beam.outputs.rebar3-version}}-hash-${{hashFiles('rebar.lock')}} | |
- name: restore rebar3's cache | |
uses: actions/cache@v2 | |
with: | |
path: ~/.cache/rebar3 | |
key: rebar3-cache-for-os-${{runner.os}}-otp-${{steps.setup-beam.outputs.otp-version}}-rebar3-${{steps.setup-beam.outputs.rebar3-version}}-hash-${{hashFiles('rebar.lock')}} | |
- run: make version | |
- run: make ex_doc-dry | |
if: ${{matrix.otp_vsn >= 24}} |