Skip to content

Commit

Permalink
feat: add hex audit
Browse files Browse the repository at this point in the history
  • Loading branch information
yordis committed Nov 10, 2024
1 parent ec11c30 commit 01ae218
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions .github/workflows/elixir-quality-assurance.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,29 @@ on:
type: boolean
required: false
default: true
check-retired-pkg-enabled:
description: Enables the check retired packages job
type: boolean
required: false
default: true

jobs:
hex-audit:
name: Check Retired Packages
if: ${{ inputs.check-retired-pkg-enabled }}
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Setup Elixir
uses: straw-hat-team/github-actions-workflows/elixir/[email protected]
with:
elixir-version: ${{ inputs.elixir-version }}
otp-version: ${{ inputs.otp-version }}
version-type: ${{ inputs.version-type }}
- name: Check retired packages
run: mix hex.audit

check-unused-deps:
name: Unused Dependencies
if: ${{ inputs.check-unused-deps-enabled }}
Expand Down

0 comments on commit 01ae218

Please sign in to comment.