Skip to content

Commit

Permalink
Lint dot files in typos
Browse files Browse the repository at this point in the history
  • Loading branch information
kachick committed Aug 2, 2023
1 parent 4ffdf34 commit 46a4336
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
9 changes: 9 additions & 0 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,3 +23,12 @@ jobs:
- uses: actions/checkout@v3
# Keep same version as used in *.nix
- uses: crate-ci/typos@v1.16.1
with:
# https://github.com/crate-ci/typos/issues/779#issuecomment-1635761199
files: |
.
.github
.vscode
home/.config
home/.local
home/.stack
2 changes: 1 addition & 1 deletion cmd/lint/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ func main() {
{"shfmt", append([]string{"--language-dialect", "bash", "--diff"}, bashPaths...)},
{"shellcheck", bashPaths},
{"nixpkgs-fmt", append([]string{"--check"}, nixPaths...)},
{"typos", []string{".", ".github", "home/.config", ".vscode"}},
{"typos", []string{".", ".github", ".vscode", "home/.config", "home/.local", "home/.stack"}},
{"gitleaks", []string{"detect"}},
{"go", []string{"vet", "./..."}},
}
Expand Down

0 comments on commit 46a4336

Please sign in to comment.