Merge pull request #1108 from ps2homebrew/fixWrongReaddirUsage #740
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: CI-format-check | |
on: | |
push: | |
paths: | |
- '**.h' | |
- '**.c' | |
- '.github/workflows/check-format.yml' | |
- '.clang-format' | |
pull_request: | |
paths: | |
- '**.h' | |
- '**.c' | |
- '.github/workflows/check-format.yml' | |
- '.clang-format' | |
jobs: | |
check-format: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: DoozyX/clang-format-lint-action@v0.12 | |
with: | |
source: '.' | |
extensions: 'h,c' | |
clangFormatVersion: 12 | |
inplace: False |