Skip to content

Add pyproject.toml with prek dev dependency #114

Add pyproject.toml with prek dev dependency

Add pyproject.toml with prek dev dependency #114

Workflow file for this run

# https://github.com/j178/prek
name: 🔎 Prek - Audit Hooks
on:
pull_request:
push:
branches: [main]
permissions:
contents: read
jobs:
prek-audit:
name: Prek Audit Hooks - ${{ matrix.os }}
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [macos-latest, ubuntu-latest, windows-latest]
steps:
- name: "Checkout ${{ github.ref }} ( ${{ github.sha }} )"
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
with:
persist-credentials: false
- name: Run prek-action
uses: j178/prek-action@bdca6f102f98e2b4c7029491a53dfd366469e33d # v2.0.4
with:
install-only: true
- name: Run manual prek hooks
run: prek run --all-files --config .pre-commit-config-audit.yaml