Skip to content

Commit ef54ab9

Browse files
ci: refactor clang-format linting (#3)
1 parent 5d8224b commit ef54ab9

File tree

2 files changed

+2
-20
lines changed

2 files changed

+2
-20
lines changed

.github/workflows/linting-formatting.yml

Lines changed: 0 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -15,26 +15,6 @@ concurrency:
1515
cancel-in-progress: true
1616

1717
jobs:
18-
formatter:
19-
name: Formatting
20-
runs-on: [ubuntu-latest]
21-
permissions:
22-
contents: read
23-
pull-requests: write
24-
steps:
25-
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683
26-
with:
27-
persist-credentials: false
28-
- uses: DoozyX/clang-format-lint-action@c71d0bf4e21876ebec3e5647491186f8797fde31
29-
with:
30-
clangFormatVersion: 14
31-
inplace: true
32-
extensions: "cpp,hpp"
33-
exclude: "./external"
34-
- uses: reviewdog/action-suggester@db4abb16fbaabe386831e5addb7be1485d0d63d3
35-
with:
36-
tool_name: clang-format
37-
filter_mode: diff_context
3818
linter:
3919
name: Linting
4020
runs-on: [ubuntu-latest]

.mega-linter.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
APPLY_FIXES: all
22
ENABLE:
33
- ACTION
4+
- CPP
45
- DOCKERFILE
56
- GHERKIN
67
- JSON
@@ -9,6 +10,7 @@ ENABLE:
910
- SPELL
1011
- YAML
1112
DISABLE_LINTERS:
13+
- CPP_CPPLINT
1214
- REPOSITORY_DEVSKIM
1315
- REPOSITORY_GITLEAKS
1416
- REPOSITORY_KICS

0 commit comments

Comments
 (0)