-
Notifications
You must be signed in to change notification settings - Fork 0
Refine workflows and update Clang checks #4
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 5 commits
Commits
Show all changes
13 commits
Select commit
Hold shift + click to select a range
8407186
Refined workflows + Clang check exclusion list
JanPetterMG 39476bf
Add a few more checks
JanPetterMG cdd5559
Exclude more checks
JanPetterMG e24b4c8
Adjust threshold for job failure
JanPetterMG 8459d4d
Add labels to labeler ruleset
JanPetterMG bfbdbb6
Update .github/workflows/uv.yml
JanPetterMG 5ebd967
Fix typo
JanPetterMG 42000ef
Split up PlatformIO workflow
JanPetterMG fdbf75e
misc-include-cleaner.MissingIncludes
JanPetterMG 2d93545
Set clang-threshold to 64
JanPetterMG 769edae
Harden security by setting actions/checkout persist-credentials: false
JanPetterMG ef1db79
Set persist-credentials: false in more workflows
JanPetterMG c7b378b
Set persist-credentials:false also for VIPnytt/platformio-dependency-…
JanPetterMG 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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,2 +1,31 @@ | ||
| Checks: "*" | ||
| Checks: > | ||
| *, | ||
| -altera-unroll-loops, | ||
| -bugprone-branch-clone, | ||
| -bugprone-easily-swappable-parameters, | ||
| -cppcoreguidelines-avoid-c-arrays, | ||
| -cppcoreguidelines-avoid-magic-numbers, | ||
| -cppcoreguidelines-pro-bounds-constant-array-index, | ||
| -cppcoreguidelines-pro-bounds-pointer-arithmetic, | ||
| -cppcoreguidelines-pro-type-vararg, | ||
| -fuchsia-default-arguments-calls, | ||
| -[fuchsia-default-arguments-declarations, | ||
| -fuchsia-statically-constructed-objects, | ||
| -google-runtime-int, | ||
| -hicpp-avoid-c-arrays, | ||
| -hicpp-vararg, | ||
| -llvm-header-guard, | ||
| -llvmlibc-callee-namespace, | ||
| -llvmlibc-implementation-in-namespace, | ||
| -misc-use-internal-linkage, | ||
| -modernize-avoid-c-arrays, | ||
| -modernize-use-trailing-return-type, | ||
| -portability-avoid-pragma-once, | ||
| -readability-convert-member-functions-to-static, | ||
| -readability-magic-numbers | ||
| CheckOptions: | ||
| - key: cppcoreguidelines-macro-usage.CheckCapsOnly | ||
| value: true | ||
| - key: readability-identifier-length.IgnoredVariableNames | ||
| value: ^(rx|tx)$ | ||
| FormatStyle: file | ||
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 |
|---|---|---|
|
|
@@ -3,7 +3,7 @@ name: Labeler | |
| on: | ||
| pull_request_target: | ||
| branches: | ||
| - master | ||
| - main | ||
|
|
||
| permissions: | ||
| contents: read | ||
|
|
||
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 |
|---|---|---|
| @@ -0,0 +1,29 @@ | ||
| name: uv | ||
|
|
||
| on: | ||
| pull_request: | ||
| branches: | ||
| - main | ||
|
|
||
| workflow_dispatch: | ||
|
|
||
| permissions: | ||
| contents: read | ||
|
|
||
| jobs: | ||
| uv-lock: | ||
| name: uv.lock consistency | ||
| runs-on: ubuntu-latest | ||
|
|
||
| steps: | ||
| - name: Checkout | ||
| uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 | ||
|
JanPetterMG marked this conversation as resolved.
|
||
|
|
||
| - name: Set up uv | ||
| uses: astral-sh/setup-uv@20cfd1bf945f4377ade1205e4dbc17946fc9a30d # v10.0.1 | ||
| with: | ||
| python-version: 3.11 | ||
| version: latest-known | ||
|
|
||
| - name: uv lock check | ||
| run: uv lock --check | ||
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.