Skip to content

Add clang format and pre commit configuraiton #1

Add clang format and pre commit configuraiton

Add clang format and pre commit configuraiton #1

Workflow file for this run

name: Lint and Pre-commit Checks
permissions:
contents: read
on:
push:
branches:
- main
pull_request:
workflow_dispatch:
jobs:
pre-commit:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
with:
persist-credentials: false
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: '3.x'
- name: Install pre-commit
run: pip install pre-commit
- name: Run pre-commit
run: pre-commit run --all-files