Use crate-ci/typos action to check for typos

The misspell tool that we used previously has no exclude switch for ignoring translated files. Also, it looks like it is not maintained anymore.

In addition to changing our spell checker, this commit renames the `Build Site` workflow to `Blog` (to be consistent with our `Code` workflow).
This commit is contained in:
Philipp Oppermann
2021-10-17 17:16:02 +02:00
parent ac8f0175a7
commit 53e3578e34
2 changed files with 18 additions and 5 deletions

View File

@@ -1,4 +1,4 @@
name: Build Site
name: Blog
on:
push:
@@ -59,10 +59,10 @@ jobs:
steps:
- uses: actions/checkout@v1
- run: curl -L https://git.io/misspell | bash
name: "Install misspell"
- run: bin/misspell -error blog/content
name: "Check for common typos"
- name: Typo Check
uses: crate-ci/typos@v1.1.9
with:
files: blog
deploy_site:
name: "Deploy Generated Site"