goldendict-ng/.github/workflows/clang-format.yml

28 lines
553 B
YAML
Raw Normal View History

2022-02-05 06:48:58 +00:00
name: Clang Format Checker
on:
workflow_dispatch:
push:
branches:
- dev
- staged
paths-ignore:
- 'docs/**'
- ".github/**"
- "howto/**"
pull_request:
branches:
- dev
- staged
paths-ignore:
- 'docs/**'
- ".github/**"
- "howto/**"
jobs:
clang-format-checking:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: RafikFarhad/clang-format-github-action@v1.0.1
2022-02-07 14:35:18 +00:00
with:
sources: "**/*.c,**/*.h,**/.cc,**/.hh,**/.cpp,**/*.hpp"