-
Notifications
You must be signed in to change notification settings - Fork 0
Added arduino-lint check workflow #6
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
8 commits
Select commit
Hold shift + click to select a range
7bde1a3
Added arduino-lint check workflow
cmaglie 21b270b
Change library-manager checks to 'submit'
cmaglie fd75392
Fix linter warning
cmaglie 0530795
Renamed lib to Arduino_RPClite
cmaglie cf07b08
Update .github/workflows/arduino-lint.yml
cmaglie 01947e9
Set strict compliance for the linter
cmaglie b37518f
Set a placeholder 'url' field to be changed before publishing
cmaglie 9187619
Other changes to README and descriptions
cmaglie 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,29 @@ | ||
| name: Check Arduino | ||
|
|
||
| # See: https://docs.github.com/en/actions/reference/events-that-trigger-workflows | ||
| on: | ||
| push: | ||
| pull_request: | ||
| schedule: | ||
| # Run every Tuesday at 8 AM UTC to catch breakage caused by new rules added to Arduino Lint. | ||
| - cron: "0 8 * * TUE" | ||
| workflow_dispatch: | ||
| repository_dispatch: | ||
|
|
||
| jobs: | ||
| lint: | ||
| runs-on: ubuntu-latest | ||
| permissions: | ||
| contents: read | ||
|
|
||
| steps: | ||
| - name: Checkout repository | ||
| uses: actions/checkout@v4 | ||
|
|
||
| - name: Arduino Lint | ||
| uses: arduino/arduino-lint-action@v2 | ||
| with: | ||
| compliance: strict | ||
| library-manager: submit # remember to change to 'update' after the library is published on the libraries index | ||
| # Always use this setting for official repositories. Remove for 3rd party projects. | ||
| official: true | ||
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,7 @@ | ||
| # RPClite | ||
| RPC lib for embedded based on MsgPack | ||
| # Arduino_RPClite | ||
|
|
||
| A MessagePack RPC library for Arduino allows to create a client/server architecture using MessagePack as the serialization format. It follows the [MessagePack-RPC protocol specification](https://github.com/msgpack-rpc/msgpack-rpc/blob/master/spec.md). It is designed to be lightweight and easy to use, making it suitable for embedded systems and IoT applications. | ||
|
|
||
| ### Credits | ||
|
|
||
| This library is based on the MsgPack library by @hideakitai. |
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,4 @@ | ||
| #include <RPClite.h> | ||
| #include <Arduino_RPClite.h> | ||
|
|
||
| DummyTransport transport; | ||
| RPCServer server(transport); | ||
|
|
||
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,4 @@ | ||
| #include <RPClite.h> | ||
| #include <Arduino_RPClite.h> | ||
|
|
||
| int add(int x, int y) { | ||
| return x + y; | ||
|
|
||
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,10 +1,10 @@ | ||
| name=RPClite | ||
| name=Arduino_RPClite | ||
| version=0.0.1 | ||
| author=Lucio Rossi (eigen-value) | ||
| maintainer=Lucio Rossi (eigen-value) | ||
| sentence=RPClite for Arduino (based on hideakitai MsgPack) | ||
| paragraph=RPClite for Arduino (based on hideakitai MsgPack) | ||
| sentence=A MessagePack RPC library for Arduino | ||
| paragraph=allows to create a client/server architecture using MessagePack as the serialization format. It follows the MessagePack-RPC protocol specification. It is designed to be lightweight and easy to use, making it suitable for embedded systems and IoT applications. | ||
| category=Communication | ||
| url=https://github.com/bcmi-labs/RPClite | ||
| url=https://www.arduino.cc/ | ||
| architectures=* | ||
| depends=ArxContainer (>=0.6.0), ArxTypeTraits, DebugLog (>=0.8.1) |
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
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.