Skip to content

Update build.yml

Update build.yml #2

Workflow file for this run

name: Check code formatting
on: [push, pull_request]
jobs:
formatting-check:
name: Check formatting (clang-format)
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Run clang-format style check for C/C++ programs.
uses: jidicula/clang-format-action@main
with:
clang-format-version: '11'
check-path: '.'