Possibility of tracking the text window (#4444) #41
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
name: Check code style | |
on: | |
push: | |
branches: | |
- master | |
- v* | |
paths: | |
- .clang-format | |
- src/** | |
pull_request: | |
paths: | |
- .clang-format | |
- src/** | |
jobs: | |
check-format: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Install dependencies | |
run: sudo apt update -q && sudo apt install -yq clang-format | |
- name: Check code style | |
run: clang-format -n -style=file --Werror src/*.{cpp,h} |