Skip to content

Fix pre-commit

Fix pre-commit #475

Workflow file for this run

name: pre-commit
on: [push, pull_request]
jobs:
pre-commit:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: cvmfs-contrib/github-action-cvmfs@v4
- name: Run pre-commit
run: |
source /cvmfs/sw-nightlies.hsf.org/key4hep/setup.sh
cd ${GITHUB_WORKSPACE}
pre-commit run --show-diff-on-failure \
--color=always \
--all-files