From 15334b070fb1c32309b182689b2491fbd6efd105 Mon Sep 17 00:00:00 2001 From: Sandeep Mistry Date: Fri, 4 Oct 2019 10:46:08 -0400 Subject: [PATCH 1/2] Use Github workflows to compile examples and spell check --- .github/workflows/compile-examples.yml | 20 ++++++++++++++++++++ .github/workflows/spell-check.yml | 11 +++++++++++ 2 files changed, 31 insertions(+) create mode 100644 .github/workflows/compile-examples.yml create mode 100644 .github/workflows/spell-check.yml diff --git a/.github/workflows/compile-examples.yml b/.github/workflows/compile-examples.yml new file mode 100644 index 0000000..21addb8 --- /dev/null +++ b/.github/workflows/compile-examples.yml @@ -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 diff --git a/.github/workflows/spell-check.yml b/.github/workflows/spell-check.yml new file mode 100644 index 0000000..7b45d77 --- /dev/null +++ b/.github/workflows/spell-check.yml @@ -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 From 5904621cdd696050ac12dce2f7c8db50afb3a1a3 Mon Sep 17 00:00:00 2001 From: Sandeep Mistry Date: Fri, 4 Oct 2019 10:55:32 -0400 Subject: [PATCH 2/2] Correct spelling --- src/OAuthClient.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/OAuthClient.cpp b/src/OAuthClient.cpp index dc02ba9..d8d571b 100644 --- a/src/OAuthClient.cpp +++ b/src/OAuthClient.cpp @@ -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] == '=') {