Skip to content

Commit

Permalink
ci: check format only
Browse files Browse the repository at this point in the history
Based on previous usage experience, clang tidy generates a lot of noise and no one is really checking the messages carefully.
  • Loading branch information
ArcticLampyrid committed Jul 29, 2024
1 parent 6640295 commit 136158e
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 88 deletions.
88 changes: 0 additions & 88 deletions .github/workflows/cpp-linter.yml

This file was deleted.

22 changes: 22 additions & 0 deletions .github/workflows/format-check.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: "Format Check"
on:
pull_request:
paths:
- "src/**"
- ".github/workflows/format-check.yml"
push:
paths:
- "src/**"
- ".github/workflows/format-check.yml"
jobs:
format-check:
name: Format Check
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Clang Format Check
uses: jidicula/[email protected]
with:
clang-format-version: '18'
check-path: 'src'

0 comments on commit 136158e

Please sign in to comment.