From 0a0a280e3653b6a544859e280b7c128dcec00863 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Janne=20Kiiskil=C3=A4?= Date: Fri, 6 Oct 2023 14:35:54 +0300 Subject: [PATCH] Misspell github action & one spelling fix To ensure no major misspells slip in. --- .github/workflows/misspell.yml | 20 ++++++++++++++++++++ git_details.cmake | 2 +- 2 files changed, 21 insertions(+), 1 deletion(-) create mode 100644 .github/workflows/misspell.yml 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()