Update README.md #257
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Runs clang-format to ensure the style is correct | |
name: Lint | |
on: | |
workflow_dispatch: | |
push: | |
branches: | |
- dev/develop | |
- main | |
pull_request: | |
branches: | |
- dev/develop | |
- main | |
jobs: | |
formatting-check: | |
name: Formatting Check | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Run clang-format | |
uses: jidicula/[email protected] | |
with: | |
clang-format-version: '16' | |
check-path: 'src' |