mirror of
https://github.com/cloudnative-pg/plugin-barman-cloud.git
synced 2026-01-11 21:23:12 +01:00
ci: add word ordered task (#311)
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> Signed-off-by: Francesco Canovai <francesco.canovai@enterprisedb.com> Co-authored-by: Francesco Canovai <francesco.canovai@enterprisedb.com>
This commit is contained in:
parent
ab398d7d30
commit
4be694bb1f
11
Taskfile.yml
11
Taskfile.yml
@ -30,8 +30,18 @@ tasks:
|
||||
sources:
|
||||
- ./**/*.go
|
||||
|
||||
wordlist-ordered:
|
||||
desc: Order the word list file
|
||||
cmds:
|
||||
- LANG=C LC_ALL=C sort .wordlist.txt > .wordlist.txt.new
|
||||
- mv -f .wordlist.txt.new .wordlist.txt
|
||||
sources:
|
||||
- .wordlist.txt
|
||||
|
||||
spellcheck:
|
||||
desc: Run spellcheck
|
||||
deps:
|
||||
- wordlist-ordered
|
||||
env:
|
||||
# renovate: datasource=git-refs depName=spellcheck lookupName=https://github.com/cloudnative-pg/daggerverse currentValue=main
|
||||
DAGGER_SPELLCHECK_SHA: ba865842d907910c469d016c3ecfa009e4c66915
|
||||
@ -59,6 +69,7 @@ tasks:
|
||||
deps:
|
||||
- manifest-main
|
||||
- apidoc
|
||||
- wordlist-ordered
|
||||
env:
|
||||
# renovate: datasource=git-refs depName=uncommitted lookupName=https://github.com/cloudnative-pg/daggerverse currentValue=main
|
||||
DAGGER_UNCOMMITTED_SHA: ba865842d907910c469d016c3ecfa009e4c66915
|
||||
|
||||
Loading…
Reference in New Issue
Block a user