Skip to content

Bump the production-dependencies group across 1 directory with 6 updates #586

Bump the production-dependencies group across 1 directory with 6 updates

Bump the production-dependencies group across 1 directory with 6 updates #586

Workflow file for this run

name: Elixir CI
on:
push:
branches: [develop]
pull_request:
branches: [develop]
jobs:
build:
name: Build and test
runs-on: ubuntu-latest
strategy:
matrix:
include:
- elixir-version: "1.16"
otp-version: "26"
- elixir-version: "1.17"
otp-version: "27"
steps:
- uses: actions/checkout@v4
- name: Set up Elixir
uses: erlef/setup-beam@v1
with:
elixir-version: ${{ matrix.elixir-version }}
otp-version: ${{ matrix.otp-version }}
- name: Restore dependencies cache
uses: actions/cache@v4
id: mix-cache
with:
path: |
deps
_build
priv/plts
key: ${{ runner.os }}-v2-mix-${{ hashFiles('**/mix.lock') }}
restore-keys: ${{ runner.os }}-v2-mix-
- name: Install Dependencies
if: steps.mix-cache.outputs.cache-hit != 'true'
run: |
mkdir -p priv/plts
mix local.rebar --force
mix local.hex --force
mix deps.get
mix deps.compile
mix dialyzer --plt
- name: Run tests
run: mix test
- name: Static code quality checks
run: |
mix format --check-formatted
mix credo
mix dialyzer --format github
- name: Code Annotations Report
if: ${{ always() }}
uses: mikepenz/[email protected]
with:
report_paths: "reports/junit/*.xml"
github_token: ${{ secrets.GITHUB_TOKEN }}