Skip to content

Commit

Permalink
chore: update CI jobs to check misspelled words (#403)
Browse files Browse the repository at this point in the history
  • Loading branch information
muktihari authored Sep 8, 2024
1 parent 1976263 commit 3b3ebec
Showing 1 changed file with 18 additions and 1 deletion.
19 changes: 18 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ on:
permissions: {}

jobs:
build:
test:
runs-on: ubuntu-latest
strategy:
matrix:
Expand All @@ -39,3 +39,20 @@ jobs:
uses: codecov/codecov-action@e28ff129e5465c2c0dcc6f003fc735cb6ae0c673 # v4.5.0
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}

misspell:
runs-on: ubuntu-latest
needs: test
steps:
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7

- name: Set up Go
uses: actions/setup-go@0a12ed9d6a96ab950c8f026ed9f722fe0da7ef32 # v5.0.2
with:
go-version: stable

- name: Set up misspell
run: go install github.com/client9/misspell/cmd/misspell@latest

- name: Test misspelled words
run: misspell -error .

0 comments on commit 3b3ebec

Please sign in to comment.