Bump ex_doc from 0.28.2 to 0.34.2 #197
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: Static Analysis | |
on: | |
push: | |
pull_request: | |
branches: | |
- main | |
jobs: | |
check_duplicate_runs: | |
name: Check for duplicate runs | |
continue-on-error: true | |
runs-on: ubuntu-20.04 | |
outputs: | |
should_skip: ${{ steps.skip_check.outputs.should_skip }} | |
steps: | |
- id: skip_check | |
uses: fkirc/[email protected] | |
with: | |
concurrent_skipping: always | |
cancel_others: true | |
skip_after_successful_duplicate: true | |
paths_ignore: '["**/README.md", "**/CHANGELOG.md", "**/LICENSE.txt"]' | |
do_not_skip: '["pull_request"]' | |
dialyzer: | |
name: Static code analysis | |
runs-on: ubuntu-20.04 | |
strategy: | |
matrix: | |
elixir: | |
- "1.11" | |
otp: | |
- "23.0" | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v2 | |
- name: Set up Elixir | |
uses: erlef/setup-beam@v1 | |
with: | |
elixir-version: ${{ matrix.elixir }} | |
otp-version: ${{ matrix.otp }} | |
- name: Restore deps cache | |
uses: actions/cache@v2 | |
with: | |
path: deps | |
key: ${{ runner.os }}-mix-{{ matrix.otp }}-${{ matrix.elixir }}-${{ hashFiles('**/mix.lock') }} | |
- name: Restore _build cache | |
uses: actions/cache@v2 | |
with: | |
path: _build | |
key: ${{ runner.os }}-build-${{ matrix.otp }}-${{ matrix.elixir }}-${{ hashFiles('**/mix.lock') }} | |
restore-keys: | | |
${{ runner.os }}-build-${{ matrix.otp }}-${{ matrix.elixir }}-${{ hashFiles('**/mix.lock') }} | |
${{ runner.os }}-build-${{ matrix.otp }}-${{ matrix.elixir }} | |
- name: Install hex | |
run: mix local.hex --force | |
- name: Install rebar | |
run: mix local.rebar --force | |
- name: Install package dependencies | |
run: mix deps.get | |
- name: Compile package dependencies | |
run: mix deps.compile | |
- name: Restore Dialyzer cache | |
uses: actions/cache@v2 | |
with: | |
path: priv/plts | |
key: ${{ runner.os }}-dialyzer-${{ matrix.otp }}-${{ matrix.elixir }}-${{ hashFiles('**/mix.lock') }} | |
restore-keys: | | |
${{ runner.os }}-dialyzer-${{ matrix.otp }}-${{ matrix.elixir }}-${{ hashFiles('**/mix.lock') }} | |
${{ runner.os }}-dialyzer-${{ matrix.otp }}-${{ matrix.elixir }} | |
- name: Run dialyzer | |
run: mix dialyzer --format dialyxir |