Change PyPI name to -project
#6
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
# This file was generated from bswck/[email protected]. | |
# Instead of changing this particular file, you might want to alter the template: | |
# https://github.com/bswck/skeleton/tree/0.0.2rc-180-g2a2d737/project/.github/workflows/audit.yml.jinja | |
# IMPORTANT! | |
# Pinned versions of actions and Poetry are managed in a different repository. | |
# Do not submit PRs to this file unless for this repo specifically. | |
# To change this workflow globally, submit a PR to https://github.com/bswck/skeleton. | |
name: "Audit" | |
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: "Set up Python 3.8" | |
uses: "actions/setup-python@v5" | |
with: | |
cache: "poetry" | |
- name: "Install the project" | |
run: "poetry install" | |
- 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]" |