Skip to content

Commit 344028f

Browse files
sxdgbartolini
authored andcommitted
chore: add word ordered task to CI
Added a word list ordered to the Taskfile to run as a dependency of the `spellcheck` task to keep the .wordlist.txt file in order Closes #310 Signed-off-by: Jonathan Gonzalez V. <jonathan.gonzalez@enterprisedb.com>
1 parent ab398d7 commit 344028f

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

Taskfile.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,16 @@ tasks:
3030
sources:
3131
- ./**/*.go
3232

33+
wordlist-ordered:
34+
desc: Order the word list file
35+
cmds:
36+
- LANG=C LC_ALL=C sort .wordlist.txt > .wordlist.txt.new
37+
- mv -f .wordlist.txt.new .wordlist.txt
38+
3339
spellcheck:
3440
desc: Run spellcheck
41+
deps:
42+
- wordlist-ordered
3543
env:
3644
# renovate: datasource=git-refs depName=spellcheck lookupName=https://github.com/cloudnative-pg/daggerverse currentValue=main
3745
DAGGER_SPELLCHECK_SHA: ba865842d907910c469d016c3ecfa009e4c66915

0 commit comments

Comments
 (0)