Skip to content

Commit

Permalink
Create python-app.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
forefy-old authored Jan 26, 2024
1 parent d107d41 commit 43c0e04
Showing 1 changed file with 38 additions and 0 deletions.
38 changes: 38 additions & 0 deletions .github/workflows/python-app.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
name: pip-audit

on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
schedule: [ cron: "0 7 * * 2" ]

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

jobs:
audit:
runs-on: ubuntu-latest

steps:
- name: Checkout repository
uses: actions/checkout@v4

- name: Install Python
uses: actions/setup-python@v4
with:
python-version: "3.11"

- name: Install eBurger
run: |
python -m venv /tmp/pip-audit-env
source /tmp/pip-audit-env/bin/activate
python -m pip install --upgrade pip setuptools wheel
python -m pip install .
- name: Run pip-audit
uses: pypa/[email protected]
with:
virtual-environment: /tmp/pip-audit-env

0 comments on commit 43c0e04

Please sign in to comment.