Skip to content

build(deps-dev): bump ex_doc from 0.34.0 to 0.34.2 #503

build(deps-dev): bump ex_doc from 0.34.0 to 0.34.2

build(deps-dev): bump ex_doc from 0.34.0 to 0.34.2 #503

Workflow file for this run

name: CI
on:
pull_request:
push:
branches:
- main
env:
RHAI_RUSTLER_FORCE_BUILD: "true"
jobs:
test:
name: Test (Elixir ${{matrix.elixir}} | Erlang/OTP ${{matrix.otp}})
runs-on: ubuntu-20.04
strategy:
fail-fast: false
matrix:
include:
- otp: 26
elixir: 1.15.4
lint: true
- otp: 25
elixir: 1.14.3
env:
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
MIX_ENV: test
steps:
- name: Clone repo
uses: actions/checkout@v4
- name: Install OTP and Elixir
uses: erlef/setup-beam@v1
with:
otp-version: ${{matrix.otp}}
elixir-version: ${{matrix.elixir}}
- name: Cache built dependencies
id: cache-deps
uses: actions/cache@v4
with:
path: |
deps
_build
key: ${{ runner.os }}-mix-otp${{ matrix.otp }}-elixir${{ matrix.elixir }}-${{ hashFiles('**/mix.lock') }}
- name: Install and compile dependencies
if: steps.cache-deps.outputs.cache-hit != 'true'
run: mix do deps.get --only test, deps.compile
- name: Check formatting
run: mix format --check-formatted
if: ${{matrix.lint}}
- name: Credo
run: mix credo --strict
if: ${{matrix.lint}}
- name: Dialyzer
run: mix dialyzer
if: ${{matrix.lint}}
- name: Check no unused dependencies
run: mix deps.get && mix deps.unlock --check-unused
if: ${{matrix.lint == 'true' && steps.cache-deps.outputs.cache-hit != 'true'}}
- name: Compile with --warnings-as-errors
run: mix compile --warnings-as-errors
if: ${{matrix.lint}}
- name: Run tests
run: mix test --trace