This repository has been archived by the owner on Jun 12, 2024. It is now read-only.
--- #321
Workflow file for this run
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: "Audit (skeleton)" | |
on: ["push"] | |
jobs: | |
pip-audit: | |
runs-on: "ubuntu-latest" | |
steps: | |
- uses: "actions/checkout@v4" | |
- name: "Install Poetry" | |
run: "pipx install poetry==1.7.1" | |
- name: "Install the project" | |
run: "poetry install --all-extras" | |
- name: "Set up Python location for pip-audit" | |
shell: "bash" | |
run: 'echo "PIPAPI_PYTHON_LOCATION=$(poetry env info -e)" >> $GITHUB_ENV' | |
- name: "Audit" | |
uses: "pypa/[email protected]" |