mirror of
https://github.com/phil-opp/blog_os.git
synced 2025-12-16 14:27:49 +00:00
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:
@@ -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"
|
||||
Reference in New Issue
Block a user