-
Notifications
You must be signed in to change notification settings - Fork 19
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Use new version of CI-CD Actions, checkout@v3 instead of checkout@v2 on all jobs * Use cSpell spell check, and use ubuntu-20.04 for formatting check * Add in bot formatting action
- Loading branch information
Showing
9 changed files
with
154 additions
and
131 deletions.
There are no files selected for viewing
This file contains 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 | ||
DDisable | ||
DNDEBUG | ||
DUNITY | ||
MISRA | ||
MQTT | ||
Misra | ||
Wunused | ||
cbmc | ||
cbor | ||
cmock | ||
coverity | ||
ctest | ||
lcov | ||
misra | ||
sinclude | ||
utest |
This file contains 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 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 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 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 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,31 @@ | ||
--- | ||
$schema: https://raw.githubusercontent.com/streetsidesoftware/cspell/main/cspell.schema.json | ||
version: '0.2' | ||
# Allows things like stringLength | ||
allowCompoundWords: true | ||
|
||
# Read files not to spell check from the git ignore | ||
useGitignore: true | ||
|
||
# Language settings for C | ||
languageSettings: | ||
- caseSensitive: false | ||
enabled: true | ||
languageId: c | ||
locale: "*" | ||
|
||
# Add a dictionary, and the path to the word list | ||
dictionaryDefinitions: | ||
- name: freertos-words | ||
path: '.github/.cSpellWords.txt' | ||
addWords: true | ||
|
||
dictionaries: | ||
- freertos-words | ||
|
||
# Paths and files to ignore | ||
ignorePaths: | ||
- 'dependency' | ||
- 'docs' | ||
- 'ThirdParty' | ||
- 'History.txt' |
Oops, something went wrong.