Add a function to check for commands used by the `run_task` script. Move the version printing to after the check. Also print the bash version in use.
Re-write the whole CI pipeline. Co-developed-by: Martin Habovstiak <martin.habovstiak@gmail.com>