mirror of
https://github.com/ValdikSS/GoodbyeDPI.git
synced 2024-12-22 14:26:08 +00:00
Added clang-format check action
This commit is contained in:
parent
83af8cc541
commit
c5cbbb43f3
17
.github/workflows/clang-format-check
vendored
Normal file
17
.github/workflows/clang-format-check
vendored
Normal file
@ -0,0 +1,17 @@
|
|||||||
|
name: Clang Format Checker
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
paths:
|
||||||
|
- 'src/**'
|
||||||
|
pull_request:
|
||||||
|
paths:
|
||||||
|
- 'src/**'
|
||||||
|
env:
|
||||||
|
BRANCH_NAME: master
|
||||||
|
jobs:
|
||||||
|
check-format:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- uses: wolletd/clang-format-checker@v1
|
||||||
|
with:
|
||||||
|
target-ref: ${{ env. BRANCH_NAME }} # required, merge target
|
Loading…
Reference in New Issue
Block a user