2 Commits

Author SHA1 Message Date
ValdikSS
f085c06a2b test 2024-09-06 17:32:32 +03:00
EgorWeders
c5cbbb43f3 Added clang-format check action 2024-08-21 09:21:58 +07:00
2 changed files with 18 additions and 1 deletions

17
.github/workflows/clang-format-check vendored Normal file
View 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

View File

@@ -1,7 +1,7 @@
/* /*
* GoodbyeDPI — Passive DPI blocker and Active DPI circumvention utility. * GoodbyeDPI — Passive DPI blocker and Active DPI circumvention utility.
*/ */
#include <stdio.h> #include <stdio.h>
#include <stdlib.h> #include <stdlib.h>
#include <stdbool.h> #include <stdbool.h>