From a4b3542f282dbe854fee181f1796ffbf1906976d Mon Sep 17 00:00:00 2001 From: Marco Nenciarini Date: Thu, 27 Aug 2026 14:19:15 +0200 Subject: [PATCH] ci: avoid race in wordlist-ordered task The wordlist-ordered task is a dep of both spellcheck and uncommitted, which run in parallel. go-task only writes the checksum after a task's cmds finish, so both parents could start the task concurrently: the first mv succeeded and removed .wordlist.txt.new before the second mv ran, failing CI with "No such file or directory". Mark the task run: once so concurrent deps are deduped. Signed-off-by: Marco Nenciarini --- Taskfile.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/Taskfile.yml b/Taskfile.yml index 7eb33e3c..0e290389 100644 --- a/Taskfile.yml +++ b/Taskfile.yml @@ -34,6 +34,7 @@ tasks: wordlist-ordered: desc: Order the word list file + run: once cmds: - LANG=C LC_ALL=C sort .wordlist.txt > .wordlist.txt.new - mv -f .wordlist.txt.new .wordlist.txt