mirror of
https://github.com/mruby/mruby
synced 2026-06-08 16:11:16 +00:00
Run pre-commit with GitHub Actions
Running pre-commit with GitHub Actions now gives us more tests and coverage Remove duplicate GitHub Actions for merge conflicts and trailing whitespace Remove duplicate checks for markdownlint and yamllint from the GitHub Super-Linter Add new custom pre-commit hook running with a shell script to sort alphabetically and uniquify codespell.txt Add new pre-commit hook to check spelling with codespell https://github.com/codespell-project/codespell Fix spelling
This commit is contained in:
+7
@@ -0,0 +1,7 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
CODESPELL_WORDLIST="codespell.txt"
|
||||
temp_file=$(mktemp)
|
||||
sort <"${CODESPELL_WORDLIST}" | uniq >"${temp_file}"
|
||||
cat "${temp_file}" >"${CODESPELL_WORDLIST}"
|
||||
rm "${temp_file}"
|
||||
Reference in New Issue
Block a user