Skip to content

Update format.yaml #107

Update format.yaml

Update format.yaml #107

Workflow file for this run

# This is a format job. Pre-commit has a first-party GitHub action, so we use
# that: https://github.com/pre-commit/action
name: Formatting (pre-commit)
on:
workflow_dispatch:
pull_request:
push:
branches:
- main
jobs:
pre-commit:
name: Format
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install clang-format-12
run: sudo apt-get install clang-format-12
- uses: pre-commit/[email protected]