-
Notifications
You must be signed in to change notification settings - Fork 35
CI-CD Updates #48
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
CI-CD Updates #48
Changes from all commits
Commits
Show all changes
9 commits
Select commit
Hold shift + click to select a range
588be38
Use new version of CI-CD Actions
Skptak 1ca362e
Use cSpell spell check, and use ubuntu-20.04 for formatting check
Skptak c6b358e
Add in missing words, remove the lexicon
Skptak 4d80811
Use the new version of the cspell.config.yaml
Skptak 3a164fb
Update the cspell config file to clean it up a bit
Skptak 8bd1b76
Use merged version of some actions
Skptak 896324c
Use merged mainline version of formatting
Skptak 2a664a6
Add in bot formatting action
Skptak 6935119
Update to use merged mainline actions, use checkout@v3 instead of che…
Skptak 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 |
---|---|---|
@@ -0,0 +1,22 @@ | ||
CBMC | ||
CBOR | ||
CMOCK | ||
CMock | ||
Cmock | ||
Coverity | ||
DNDEBUG | ||
DUNITY | ||
MISRA | ||
MQTT | ||
Misra | ||
Wunused | ||
cbmc | ||
cbor | ||
cmock | ||
coverity | ||
ctest | ||
isystem | ||
lcov | ||
misra | ||
sinclude | ||
utest |
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,23 @@ | ||
name: Format Pull Request Files | ||
|
||
on: | ||
issue_comment: | ||
types: [created] | ||
|
||
env: | ||
bashPass: \033[32;1mPASSED - | ||
bashInfo: \033[33;1mINFO - | ||
bashFail: \033[31;1mFAILED - | ||
bashEnd: \033[0m | ||
|
||
jobs: | ||
Formatting: | ||
name: Run Formatting Check | ||
if: ${{ github.event.issue.pull_request }} && | ||
( ( github.event.comment.body == '/bot run uncrustify' ) || | ||
( github.event.comment.body == '/bot run formatting' ) ) | ||
runs-on: ubuntu-20.04 | ||
steps: | ||
- name: Apply Formatting Fix | ||
uses: FreeRTOS/CI-CD-Github-Actions/formatting-bot@main | ||
id: check-formatting |
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,16 +1,21 @@ | ||
# MISRA Compliance | ||
|
||
The backoffAlgorithm library files conform to the [MISRA C:2012](https://www.misra.org.uk) | ||
guidelines, with some noted exceptions. Compliance is checked with Coverity static analysis. | ||
The specific deviations, suppressed inline, are listed below. | ||
|
||
Additionally, [MISRA configuration file](https://github.com/FreeRTOS/backoffAlgorithm/blob/main/tools/coverity/misra.config) contains the project wide deviations. | ||
The backoffAlgorithm library files conform to the | ||
[MISRA C:2012](https://www.misra.org.uk) guidelines, with some noted exceptions. | ||
Compliance is checked with Coverity static analysis. The specific deviations, | ||
suppressed inline, are listed below. | ||
|
||
Additionally, | ||
[MISRA configuration file](https://github.com/FreeRTOS/backoffAlgorithm/blob/main/tools/coverity/misra.config) | ||
contains the project wide deviations. | ||
|
||
### Suppressed with Coverity Comments | ||
|
||
To find the violation references in the source files run grep on the source code | ||
with ( Assuming rule 11.4 violation; with justification in point 2 ): | ||
|
||
``` | ||
grep 'MISRA Ref 11.4.2' . -rI | ||
``` | ||
*None.* | ||
|
||
_None._ |
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
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.