emerconn / workout-tracker

A workout tracking app
0 stars 0 forks source link

Create Go build & test workflow #2

Open emerconn opened 2 months ago

emerconn commented 2 months ago

Currently, the Dockerfile contains instructions to build the Go app, and then create an image for publishing.

The building of the app can be pulled out of Dockerfile, and replace with a workflow.

This workflow can also run tests, ensuring that an image isn't built unless tests pass.

emerconn commented 2 months ago

to take this even further, the binary built from the Go workflow could be cached and used for the container image workflow.