From d539228efe57767e5c85e5c428f0d7b77b55fbfd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Janne=20Kiiskil=C3=A4?= Date: Thu, 11 Jan 2024 13:17:28 +0200 Subject: [PATCH] Run misspell self-hosted & from maintained repo Run it with our own machine & take it from the repo that is maintained. --- .github/workflows/misspell.yml | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/.github/workflows/misspell.yml b/.github/workflows/misspell.yml index a2b2ab5..52d1157 100644 --- a/.github/workflows/misspell.yml +++ b/.github/workflows/misspell.yml @@ -8,13 +8,18 @@ concurrency: jobs: static-checks: - runs-on: ubuntu-latest + runs-on: edge-example-ci steps: - name: Check out code uses: actions/checkout@v4 - - name: Run misspell (findings may not increase) + - name: Install Go + uses: actions/setup-go@v4 + with: + go-version: '1.20' + - name: Install & run misspell if: always() run: | - curl -L -o ./install-misspell.sh https://git.io/misspell - sh ./install-misspell.sh - bin/misspell -i mosquitto . + # The original misspell is not maintained anymore, use the one + # from golangci instead + go install github.com/golangci/misspell/cmd/misspell@latest + misspell -i mosquitto .