Skip to content

Update build_and_test.yaml #108

Update build_and_test.yaml

Update build_and_test.yaml #108

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@v3
- name: Install clang-format-12
run: sudo apt-get install clang-format-12
- uses: pre-commit/[email protected]