name: Safety on: push: branches: [ main ] schedule: - cron: '0 0 * * 0' # weekly jobs: security: runs-on: ubuntu-latest steps: - name: Checkout uses: https://git.quad4.io/actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4 - name: Set up Python uses: https://git.quad4.io/actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5 with: python-version: '3.10' - name: Install dependencies run: | python -m pip install --upgrade pip pip install . - name: Run pip-audit uses: https://git.quad4.io/actions/gh-action-pip-audit@66a6ee35b1b25f89c6bdc9f7c11284f08061823a # v1.1.0