Skip to content

Add version check

Add version check #6

Workflow file for this run

---
name: Run PreCommit
on:
push
jobs:
pre-commit:
if: github.event.pull_request.draft == false
name: pre-commit checks
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Refresh source list
run: |
sudo apt update
- name: Install precommit
run: |
python -m pip install pre-commit
- name: Install hooks
run: |
pre-commit install --install-hooks
- name: Run Pre-Commit
run: >
pre-commit run
--all-files
--show-diff-on-failure
-v