Skip to content

Commit

Permalink
Add findtypos check
Browse files Browse the repository at this point in the history
  • Loading branch information
twpayne committed May 11, 2021
1 parent ca54fa3 commit 9efc082
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -167,8 +167,11 @@ jobs:
with:
scandir: ./assets/scripts
- name: Whitespace
run:
go run ./internal/cmd/lint-whitespace
run: go run ./internal/cmd/lint-whitespace
- name: Typos
run: |
go install github.com/twpayne/findtypos@latest
findtypos chezmoi .
release:
if: startsWith(github.ref, 'refs/tags/')
needs:
Expand Down
4 changes: 2 additions & 2 deletions docs/FAQ.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
* [Can I change how chezmoi's source state is represented on disk?](#can-i-change-how-chezmois-source-state-is-represented-on-disk)
* [gpg encryption fails. What could be wrong?](#gpg-encryption-fails-what-could-be-wrong)
* [chezmoi reports `chezmoi: user: lookup userid NNNNN: input/output error`](#chezmoi-reports-chezmoi-user-lookup-userid-nnnnn-inputoutput-error)
* [chezmoi reports `chezmoi: timeout` or `chemzoi: timeout obtaining persistent state lock`](#chezmoi-reports-chezmoi-timeout-or-chemzoi-timeout-obtaining-persistent-state-lock)
* [chezmoi reports `chezmoi: timeout` or `chezmoi: timeout obtaining persistent state lock`](#chezmoi-reports-chezmoi-timeout-or-chezmoi-timeout-obtaining-persistent-state-lock)
* [I'm getting errors trying to build chezmoi from source](#im-getting-errors-trying-to-build-chezmoi-from-source)
* [What inspired chezmoi?](#what-inspired-chezmoi)
* [Why not use Ansible/Chef/Puppet/Salt, or similar to manage my dotfiles instead?](#why-not-use-ansiblechefpuppetsalt-or-similar-to-manage-my-dotfiles-instead)
Expand Down Expand Up @@ -333,7 +333,7 @@ of the statically-compiled binary.
If the problem still persists, then please [open an issue on
GitHub](https://github.com/twpayne/chezmoi/issues/new/choose).
## chezmoi reports `chezmoi: timeout` or `chemzoi: timeout obtaining persistent state lock`
## chezmoi reports `chezmoi: timeout` or `chezmoi: timeout obtaining persistent state lock`
chezmoi will report this when it is unable to lock its persistent state
(`~/.config/chezmoi/chezmoistate.boltdb`), typically because another instance of
Expand Down

0 comments on commit 9efc082

Please sign in to comment.