Co-authored-by: jsvgd7g655-alt <jsvgd7g655-alt@users.noreply.github.com> #8
This file contains hidden or 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: Dependency Check | ||
| on: | ||
| schedule: | ||
| - cron: '0 0 * * 1' | ||
| workflow_dispatch: [] | ||
| jobs: | ||
| outdated: | ||
| runs-on: ubuntu-latest | ||
| steps: | ||
| - uses: actions/checkout@v4 | ||
| - name: Set up Python | ||
| uses: actions/setup-python@v4 | ||
| with: | ||
| python-version: '3.11' | ||
| - name: Install dependency tools | ||
| run: | | ||
| python -m pip install --upgrade pip | ||
| pip install pip-review safety | ||
| - name: Check for outdated packages | ||
| run: | | ||
| pip-review --local --auto --dry-run || true | ||
| - name: Run vulnerability scan | ||
| run: | | ||
| safety check --file=requirements.txt --full-report | ||