summaryrefslogtreecommitdiff
path: root/.github/workflows/linting.yml
diff options
context:
space:
mode:
Diffstat (limited to '.github/workflows/linting.yml')
-rw-r--r--.github/workflows/linting.yml17
1 files changed, 17 insertions, 0 deletions
diff --git a/.github/workflows/linting.yml b/.github/workflows/linting.yml
new file mode 100644
index 00000000..43cdeeae
--- /dev/null
+++ b/.github/workflows/linting.yml
@@ -0,0 +1,17 @@
+name: Lint ModOrganizer 2
+
+on:
+ push:
+ pull_request:
+ types: [opened, synchronize, reopened]
+
+jobs:
+ lint:
+ runs-on: ubuntu-latest
+ steps:
+ - uses: actions/checkout@v3
+ - name: Run clang-format
+ uses: jidicula/clang-format-action@v4.11.0
+ with:
+ clang-format-version: "15"
+ check-path: "."