-
Notifications
You must be signed in to change notification settings - Fork 84
build(taskfile): Add tasks to run clang-tidy and to run non-C++ linting; Move C++ linting tasks into the clp-core build GH workflows. #753
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
59 commits
Select commit
Hold shift + click to select a range
65ba87f
Initial impl.
davidlion fde7739
Merge remote-tracking branch 'upstream/main' into ci-clang-tidy
davidlion 08303af
Merge remote-tracking branch 'upstream/main' into ci-clang-tidy
davidlion a0f78d8
Add clang tidy tasks to cpp-static-check.
davidlion ef584f2
Merge remote-tracking branch 'upstream/main' into ci-clang-tidy
davidlion fe16bf7
Update clang tasks.
davidlion 2403209
Fix ci dep and drop fix alias.
davidlion 475930a
Update for ci.
davidlion 69929a1
Merge branch 'main' into ci-clang-tidy
davidlion d7d9c14
Add linting to workflows.
davidlion 8d66712
Try spaces.
davidlion 9c593ab
Needs to be single quotes.
davidlion 768cb78
Fix lint workflow name; Change task lint check suffix -full -> -all.
davidlion 2375bb6
Fix name; Change create-venv to once.
davidlion 2d515ee
Fix yamllint issues.
davidlion e91ca62
Try venv workaround for now.
davidlion 01c3975
Add python3-venv to install package scripts.
davidlion 8ab378d
Change centos venv to virtualenv.
davidlion c5afc31
Remove separate lint workflow.
davidlion 7951416
Tweak macos push/pull filters.
davidlion 82f39df
centos debug package search
davidlion 7715622
centos debug pip
davidlion 17204a9
Drop debugging from centos.
davidlion 2e29373
Merge branch 'main' into ci-clang-tidy
davidlion 98d025a
Split cpp and no-cpp workflows.
davidlion b6b2163
Add clp-lint.yaml workflow back.
davidlion 43e2a39
DEBUG test.
davidlion 02634e7
Remove debug.
davidlion 1ee3509
more debugging
davidlion ff82837
more debugging
davidlion 2d67717
more debugging
davidlion b8b439b
Try fetch-depth: 0
davidlion a9fec81
remove debug; fix missing fetch depth
davidlion c6576da
Fix bad submodule update.
davidlion 5c365cd
Bump dev-utils to contain lint taskfile fixes.
davidlion 9e95b56
Merge remote-tracking branch 'upstream/main' into ci-clang-tidy
davidlion 0c87753
Split out CI changes.
davidlion 52b24f7
Bump dev-utils.
davidlion 8b9c3a3
Apply suggestions from code review.
davidlion 81f6424
Add internal to core tasks; Fix fix tasks; remove task from deps stat…
davidlion b45b13e
Add .inc note to NOTE; Include IrUnitHandlerInterface.cpp.
davidlion eb79186
Change check and fix to use full rather than diff.
davidlion 45fc584
Apply suggestions from code review.
davidlion 95f8d2f
Revert "Split out CI changes."
davidlion cfdaf3b
Update lint contrib doc.
davidlion c5b5840
Switch to always run full rather than diff.
davidlion c8c0be3
Merge remote-tracking branch 'upstream/main' into task-clang-tidy
davidlion bddf03e
Apply suggestions from code review.
davidlion 51f116f
Blacklist byteswap.hpp due to defining macros on macos.
davidlion 7948c73
Add clp/streaming_compression/Compressor.hpp for macos.
davidlion c2fe3c5
Revert core-build-macos pull/push paths.
davidlion 16b102c
Remove bonus space.
davidlion 2c33afd
Merge remote-tracking branch 'upstream/main' into task-clang-tidy
davidlion fc77fd5
Bump dev-utils.
davidlion d2190bb
Merge remote-tracking branch 'upstream/main' into task-clang-tidy
davidlion f1b0e89
Drop extra 0 on tidy version.
davidlion 653ad79
Add FileDescriptorReader.cpp to exclude list for macos.
davidlion c7df107
Fix exclude list alphabetization.
davidlion 51de6b3
Fix exclude list to be lexicographic case-insensitive sorted.
davidlion File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -38,4 +38,4 @@ jobs: | |
|
|
||
| - name: "Run lint task" | ||
| shell: "bash" | ||
| run: "task lint:check" | ||
| run: "task lint:check-no-cpp" | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -19,4 +19,5 @@ dnf install -y \ | |
| make \ | ||
| mariadb-connector-c-devel \ | ||
| openssl-devel \ | ||
| python3-pip \ | ||
| xz-devel | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,4 +1,5 @@ | ||
| black>=24.4.2 | ||
| clang-format>=20.1 | ||
| clang-tidy>=19.1 | ||
| ruff>=0.4.4 | ||
| yamllint>=1.35.1 |
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.