Skip to content

Use Github workflows to compile examples and spell check #1

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
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 20 additions & 0 deletions .github/workflows/compile-examples.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: Compile Examples
on: [push, pull_request]
jobs:
build:
runs-on: ubuntu-latest

strategy:
matrix:
fqbn: [
"arduino:samd:mkrwifi1010"
]

steps:
- uses: actions/checkout@v1
with:
fetch-depth: 1
- uses: arduino/actions/libraries/compile-examples@master
with:
fqbn: ${{ matrix.fqbn }}
libraries: ArduinoECCX08 ArduinoBearSSL ArduinoHttpClient Arduino_JSON WiFiNINA
11 changes: 11 additions & 0 deletions .github/workflows/spell-check.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
name: Spell Check
on: [push, pull_request]
jobs:
build:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v1
with:
fetch-depth: 1
- uses: arduino/actions/libraries/spell-check@master
2 changes: 1 addition & 1 deletion src/OAuthClient.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -315,7 +315,7 @@ String OAuthClient::calculateSignature(const char* method, const char* url, unsi

*temp = '\0';

// caculate the number of parameters
// calculate the number of parameters
int numParams = 0;
for (int i = 0; i < paramsLength; i++) {
if (params[i] == '=') {
Expand Down