Skip to content

fix: update req to v0.5.x #125

fix: update req to v0.5.x

fix: update req to v0.5.x #125

name: Elixir Quality Checks
on:
pull_request:
push:
branches:
- main
jobs:
quality_checks:
name: Formatting, Credo, and Unused Deps
runs-on: ubuntu-latest
strategy:
matrix:
elixir: ["1.14"]
otp: ["25.1"]
steps:
- name: Checkout repository
uses: actions/checkout@v2
- name: Setup Elixir Project
uses: ./.github/actions/elixir-setup
with:
elixir-version: ${{ matrix.elixir }}
otp-version: ${{ matrix.otp }}
build-app: false
- name: Check for unused deps
run: mix deps.unlock --check-unused
- name: Check code formatting
run: mix format --check-formatted
if: always()
- name: Run Credo
run: mix credo suggest --strict
if: always()
- name: Check for compile-time dependencies
run: mix xref graph --label compile-connected --fail-above 0
if: always()