diff --git a/.github/workflows/misspell.yml b/.github/workflows/misspell.yml new file mode 100644 index 0000000..49bd95d --- /dev/null +++ b/.github/workflows/misspell.yml @@ -0,0 +1,20 @@ +name: misspell +on: push + +# This allows a subsequently queued workflow run to interrupt previous runs +concurrency: + group: mbed-edge-misspell-'${{ github.workflow }} @ ${{ github.event.pull_request.head.label || github.head_ref || github.ref }}' + cancel-in-progress: true + +jobs: + static-checks: + runs-on: ubuntu-latest + steps: + - name: Check out code + uses: actions/checkout@v3 + - name: Run misspell (findings may not increase) + if: always() + run: | + curl -L -o ./install-misspell.sh https://git.io/misspell + sh ./install-misspell.sh + bin/misspell -i mosquitto . diff --git a/git_details.cmake b/git_details.cmake index ebbe2b6..38c2ae1 100644 --- a/git_details.cmake +++ b/git_details.cmake @@ -91,7 +91,7 @@ function(SET_EDGE_EXAMPLES_VERSION_VARIABLES) message("Setting dummy values to versioning variables.") set(RELEASE_VERSION "unknown-release" CACHE INTERNAL "Edge Examples release version") set(GIT_BRANCH "branchless" CACHE INTERNAL "Edge Examples Git branch") - set(GIT_COMMIT "uncommited" CACHE INTERNAL "Edge Examples Git commit") + set(GIT_COMMIT "uncommitted" CACHE INTERNAL "Edge Examples Git commit") set(GIT_DIRTY "uninited" CACHE INTERNAL "Edge Examples Git if dirty") set(WRITE_VERSION_FILE 1 CACHE INTERNAL "Edge Examples version file write") endif()