In this tutorial, we are going to be taking a look at how you can leverage GitHub actions for fame and fortune within your own Go projects!

Specifically, we are going to be taking a look at how you can build your own GitHub actions by starting off with a "Hello World" example and then ramping it up to more useful actions such as code linting and test coverage reporting!

What are GitHub Actions?

GitHub actions have just recently become generally available to everyone with a repository on GitHub.

They are an incredibly versatile tool that allows us to trigger code off the back of any changes pushed to our project’s branches. This is awesome as it allows us as Go developers to programmatically trigger anything we need off the back of a commit to master.

For example, whenever I make a change to the master branch of the repository for this website, GitHub actions automatically run through a series of jobs that build, and deploy the website into production as well as running through a number of checks to see if there are any broken links on the site and validating that the site is at least meeting the basic requirements around accessibility thanks to a lighthouse report generated.

Text Tutorial:

#github #developer #go

How to Add Incredibly Useful GitHub Actions to Your Go Projects!
14.50 GEEK