You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

39 lines
818 B

name: clang-format check
on:
push:
branches:
- master
paths-ignore:
- '*.md'
pull_request:
types: [ opened, synchronize ]
paths-ignore:
- '*.md'
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
formatting-check:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Formatting Check (Source)
uses: jidicula/clang-format-action@v4.11.0
with:
clang-format-version: '13'
check-path: 'Source'
fallback-style: 'webkit'
- name: Formatting Check (test)
uses: jidicula/clang-format-action@v4.11.0
with:
clang-format-version: '13'
check-path: 'test'
fallback-style: 'webkit'