bitmaelum / bitmaelum-suite

BitMaelum software suite
https://bitmaelum.com
MIT License
61 stars 5 forks source link

trap errors and display better error messages in github actions #158

Closed jaytaph closed 3 years ago

jaytaph commented 3 years ago

sometimes is difficult to figure out what's going on in github actions. Maybe we should set a TRAP function that will display a nice error message instead:

  #!/bin/sh
  reset="\e[0m"
  fail="\e[1;33;41m"
  expand="\e[K"
  echo "${fail} FAILED GO IMPORTS ${expand}${reset}"