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 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] == '=') {