Skip to content

πŸ› Fix optimistic update condition #455

πŸ› Fix optimistic update condition

πŸ› Fix optimistic update condition #455

name: clang-format Check
on:
pull_request:
paths:
- core/**
- .clang-format
- .github/workflows/clang-format-check.yml
jobs:
formatting-check:
name: Formatting Check
runs-on: ubuntu-latest
steps:
- name: Cancel Previous Runs
uses: styfle/cancel-workflow-action@0.9.1
with:
access_token: ${{ secrets.GITHUB_TOKEN }}
- uses: actions/checkout@v2
- name: Run clang-format style check for C/C++/Protobuf programs.
uses: jidicula/clang-format-action@v4.5.0
with:
clang-format-version: '14'
check-path: 'core'
exclude-regex: '"(core\/lib|core\/test\/lib)"'