[worker] more refactoring for jobs

4 jobs for 238-dev-async-job-worker in 20 minutes and 29 seconds (queued for 5 seconds)
Status Job ID Name Coverage
  Cabal
failed #14412
cabal

00:20:29

 
  Stack
skipped #14413
stack
 
  Bench
skipped #14414
allowed to fail manual
bench
 
  Test
skipped #14415
test
 
Name Stage Failure
failed
cabal Cabal
+ actual_cabal_project_freeze_hash=e95c8d2e60345d455b843f754b15cb5dd7e2afc82f1ff6522f8cc16ac75b54cc
+ [[ 37fec39568d9b76260c543b071bde1338b613c43ebebd7d06c18f19ad9af0993 != 66d93bf833eaa39e8f06c3f3c79d87ad9418438b959a79ab5fc11551d67015a3 ]]
+ echo -e '\e[31mERROR! hash mismatch between expected cabal.project and the one computed by cabal2stack.\e[0m'
ERROR! hash mismatch between expected cabal.project and the one computed by cabal2stack.
Please update the hashes inside the './bin/update-project-dependencies' file.
+ echo -e '\e[33mPlease update the hashes inside the '\''./bin/update-project-dependencies'\'' file.\e[0m'
+ exit 1
Cleaning up project directory and file based variables
ERROR: Job failed: exit code 1