Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 24 additions & 0 deletions .github/workflows/spellcheck.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: spellcheck

on:
push:
branches: [ master ]
pull_request:
branches: [ master ]

jobs:
build:
runs-on: ubuntu-latest

steps:
- name: check out code
uses: actions/checkout@v2

- name: install misspell
run: |
curl -L -o ./install-misspell.sh https://git.io/misspell
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is there a less risky way to install this than curl http://redirection-service | bash ? :)

e.g. For autoformatting we "go get" a thing.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There is option using

$ go get -u github.com/client9/misspell/cmd/misspell

but don't think golang is part of default ubuntu-latest installation.

sh ./install-misspell.sh

- name: run misspell
run: |
./bin/misspell -error ./**/*
Empty file removed cmake/TBD
Empty file.
Empty file removed docs/TBD
Empty file.