This repository has been archived by the owner on Apr 30, 2024. It is now read-only.
Bump @typescript-eslint/eslint-plugin from 7.7.1 to 7.8.0 in /assets #393
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: Elixir Quality Checks | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- "*" | |
jobs: | |
quality_checks: | |
name: Formatting, Credo, and Unused Deps | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v3 | |
- name: Setup Elixir Project | |
uses: ./.github/actions/elixir-setup | |
with: | |
elixir-version: 1.16.2 | |
otp-version: 26.2.4 | |
build-app: false | |
- name: Check for unused deps | |
run: mix deps.unlock --check-unused | |
- name: Check code formatting | |
run: mix format --check-formatted | |
# Check formatting even if there were unused deps so that | |
# we give devs as much feedback as possible & save some time. | |
if: always() | |
- name: Run Credo | |
run: mix credo suggest --strict | |
# Run Credo even if formatting or the unused deps check failed | |
if: always() | |
- name: Check for compile-time dependencies | |
run: mix xref graph --label compile-connected --fail-above 0 | |
if: always() | |
- name: Check for security vulnerabilities in Phoenix project | |
run: mix sobelow --config --exit | |
if: always() |