chore(deps): update dependency ex_doc to ~> 0.36 - autoclosed #1688
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
name: CI | |
on: | |
pull_request: | |
push: | |
branches: | |
- main | |
jobs: | |
compile: | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Set up Elixir | |
uses: erlef/setup-beam@v1 | |
with: | |
elixir-version: ${{ matrix.versions.elixir }} | |
otp-version: ${{ matrix.versions.otp }} | |
- uses: actions/cache@v4 | |
with: | |
path: | | |
_build | |
deps | |
key: mix-${{ matrix.versions.runner-image }}-${{ matrix.versions.otp }}-${{ matrix.versions.elixir }}-${{ github.sha }} | |
restore-keys: | | |
mix-${{ matrix.versions.runner-image }}- | |
- name: Install Elixir dependencies | |
env: | |
MIX_ENV: test | |
run: mix deps.get | |
- name: Compile | |
env: | |
MIX_ENV: test | |
run: mix compile | |
name: Install deps and compile | |
runs-on: ${{ matrix.versions.runner-image }} | |
strategy: | |
fail-fast: false | |
matrix: | |
versions: | |
- elixir: 1.17 | |
otp: 27.0 | |
runner-image: ubuntu-22.04 | |
credo: | |
needs: compile | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Set up Elixir | |
uses: erlef/setup-beam@v1 | |
with: | |
elixir-version: ${{ matrix.versions.elixir }} | |
otp-version: ${{ matrix.versions.otp }} | |
- uses: actions/cache@v4 | |
with: | |
path: | | |
_build | |
deps | |
key: mix-${{ matrix.versions.runner-image }}-${{ matrix.versions.otp }}-${{ matrix.versions.elixir }}-${{ github.sha }} | |
restore-keys: | | |
mix-${{ matrix.versions.runner-image }}- | |
- name: Check code style | |
env: | |
MIX_ENV: test | |
run: mix credo --strict | |
name: Credo | |
runs-on: ${{ matrix.versions.runner-image }} | |
strategy: | |
fail-fast: false | |
matrix: | |
versions: | |
- elixir: 1.17 | |
otp: 27.0 | |
runner-image: ubuntu-22.04 | |
deps_audit: | |
needs: compile | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Set up Elixir | |
uses: erlef/setup-beam@v1 | |
with: | |
elixir-version: ${{ matrix.versions.elixir }} | |
otp-version: ${{ matrix.versions.otp }} | |
- uses: actions/cache@v4 | |
with: | |
path: | | |
_build | |
deps | |
key: mix-${{ matrix.versions.runner-image }}-${{ matrix.versions.otp }}-${{ matrix.versions.elixir }}-${{ github.sha }} | |
restore-keys: | | |
mix-${{ matrix.versions.runner-image }}- | |
- name: Check for vulnerable Mix dependencies | |
env: | |
MIX_ENV: test | |
run: mix deps.audit | |
name: Deps audit | |
runs-on: ${{ matrix.versions.runner-image }} | |
strategy: | |
fail-fast: false | |
matrix: | |
versions: | |
- elixir: 1.17 | |
otp: 27.0 | |
runner-image: ubuntu-22.04 | |
format: | |
needs: compile | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Set up Elixir | |
uses: erlef/setup-beam@v1 | |
with: | |
elixir-version: ${{ matrix.versions.elixir }} | |
otp-version: ${{ matrix.versions.otp }} | |
- uses: actions/cache@v4 | |
with: | |
path: | | |
_build | |
deps | |
key: mix-${{ matrix.versions.runner-image }}-${{ matrix.versions.otp }}-${{ matrix.versions.elixir }}-${{ github.sha }} | |
restore-keys: | | |
mix-${{ matrix.versions.runner-image }}- | |
- name: Check Elixir formatting | |
env: | |
MIX_ENV: test | |
run: mix format --check-formatted | |
name: Format | |
runs-on: ${{ matrix.versions.runner-image }} | |
strategy: | |
fail-fast: false | |
matrix: | |
versions: | |
- elixir: 1.17 | |
otp: 27.0 | |
runner-image: ubuntu-22.04 | |
hex_audit: | |
needs: compile | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Set up Elixir | |
uses: erlef/setup-beam@v1 | |
with: | |
elixir-version: ${{ matrix.versions.elixir }} | |
otp-version: ${{ matrix.versions.otp }} | |
- uses: actions/cache@v4 | |
with: | |
path: | | |
_build | |
deps | |
key: mix-${{ matrix.versions.runner-image }}-${{ matrix.versions.otp }}-${{ matrix.versions.elixir }}-${{ github.sha }} | |
restore-keys: | | |
mix-${{ matrix.versions.runner-image }}- | |
- name: Check for retired Hex packages | |
env: | |
MIX_ENV: test | |
run: mix hex.audit | |
name: Hex audit | |
runs-on: ${{ matrix.versions.runner-image }} | |
strategy: | |
fail-fast: false | |
matrix: | |
versions: | |
- elixir: 1.17 | |
otp: 27.0 | |
runner-image: ubuntu-22.04 | |
test: | |
needs: compile | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Set up Elixir | |
uses: erlef/setup-beam@v1 | |
with: | |
elixir-version: ${{ matrix.versions.elixir }} | |
otp-version: ${{ matrix.versions.otp }} | |
- uses: actions/cache@v4 | |
with: | |
path: | | |
_build | |
deps | |
key: mix-${{ matrix.versions.runner-image }}-${{ matrix.versions.otp }}-${{ matrix.versions.elixir }}-${{ github.sha }} | |
restore-keys: | | |
mix-${{ matrix.versions.runner-image }}- | |
- name: Run tests | |
env: | |
MIX_ENV: test | |
run: mix test | |
name: Test | |
runs-on: ${{ matrix.versions.runner-image }} | |
strategy: | |
fail-fast: false | |
matrix: | |
versions: | |
- elixir: 1.17 | |
otp: 27.0 | |
runner-image: ubuntu-22.04 | |
unused_deps: | |
needs: compile | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Set up Elixir | |
uses: erlef/setup-beam@v1 | |
with: | |
elixir-version: ${{ matrix.versions.elixir }} | |
otp-version: ${{ matrix.versions.otp }} | |
- uses: actions/cache@v4 | |
with: | |
path: | | |
_build | |
deps | |
key: mix-${{ matrix.versions.runner-image }}-${{ matrix.versions.otp }}-${{ matrix.versions.elixir }}-${{ github.sha }} | |
restore-keys: | | |
mix-${{ matrix.versions.runner-image }}- | |
- name: Check for unused Mix dependencies | |
env: | |
MIX_ENV: test | |
run: mix deps.unlock --check-unused | |
name: Check unused deps | |
runs-on: ${{ matrix.versions.runner-image }} | |
strategy: | |
fail-fast: false | |
matrix: | |
versions: | |
- elixir: 1.17 | |
otp: 27.0 | |
runner-image: ubuntu-22.04 | |
ci_status: | |
needs: | |
- credo | |
- deps_audit | |
- format | |
- hex_audit | |
- unused_deps | |
- test | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Set up Elixir | |
uses: erlef/setup-beam@v1 | |
with: | |
elixir-version: ${{ matrix.versions.elixir }} | |
otp-version: ${{ matrix.versions.otp }} | |
- uses: actions/cache@v4 | |
with: | |
path: | | |
_build | |
deps | |
key: mix-${{ matrix.versions.runner-image }}-${{ matrix.versions.otp }}-${{ matrix.versions.elixir }}-${{ github.sha }} | |
restore-keys: | | |
mix-${{ matrix.versions.runner-image }}- | |
name: CI status | |
runs-on: ${{ matrix.versions.runner-image }} | |
strategy: | |
fail-fast: false | |
matrix: | |
versions: | |
- elixir: 1.17 | |
otp: 27.0 | |
runner-image: ubuntu-22.04 |