Change the slack client to slack-go/slack since bluele/slack is no longer being developed. Update to v3 of gotest.tools.
The slack-go/slack code expects attachments as an instance not a pointer so move around the code to add Text. Add drone-slack as the author of the message.
Update expected output of the test to reflect new library.
Change the slack client to
slack-go/slack
sincebluele/slack
is no longer being developed. Update to v3 ofgotest.tools
.The
slack-go/slack
code expects attachments as an instance not a pointer so move around the code to add Text. Adddrone-slack
as the author of the message.Update expected output of the test to reflect new library.