Skip to content

Commit

Permalink
ci: refactor clang-format linting
Browse files Browse the repository at this point in the history
  • Loading branch information
richardapeters committed Dec 4, 2024
1 parent 5d8224b commit 166298f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 20 deletions.
20 changes: 0 additions & 20 deletions .github/workflows/linting-formatting.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,26 +15,6 @@ concurrency:
cancel-in-progress: true

jobs:
formatter:
name: Formatting
runs-on: [ubuntu-latest]
permissions:
contents: read
pull-requests: write
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683
with:
persist-credentials: false
- uses: DoozyX/clang-format-lint-action@c71d0bf4e21876ebec3e5647491186f8797fde31
with:
clangFormatVersion: 14
inplace: true
extensions: "cpp,hpp"
exclude: "./external"
- uses: reviewdog/action-suggester@db4abb16fbaabe386831e5addb7be1485d0d63d3
with:
tool_name: clang-format
filter_mode: diff_context
linter:
name: Linting
runs-on: [ubuntu-latest]
Expand Down
2 changes: 2 additions & 0 deletions .mega-linter.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
APPLY_FIXES: all
ENABLE:
- ACTION
- CPP
- DOCKERFILE
- GHERKIN
- JSON
Expand All @@ -9,6 +10,7 @@ ENABLE:
- SPELL
- YAML
DISABLE_LINTERS:
- CPP_CPPLINT
- REPOSITORY_DEVSKIM
- REPOSITORY_GITLEAKS
- REPOSITORY_KICS
Expand Down

0 comments on commit 166298f

Please sign in to comment.