⭐ Star this repository if you find it valuable and worth maintaining.
workflow is an example of a reusable, yet customizable, goyek workflow
that could be used to share common build pipeline code.
It defines reusable tasks, stages and configures the goyek.DefaultFlow
to use common flags, middlewares, printing.
You can find example usage (and customization) in https://github.com/goyek/demo.
The default all build pipeline consists of following stages:
initbuildtest
The init stage consists of following tasks:
go-tidygo-generate
The build stage consists of following tasks:
go-build
The test stage consists of following tasks:
go-vetgo-test
clean tasks is used to clean the workspace from files created during build pipeline.
git-diff is used to detect if there were changes (e.g. done by go generate)
that were not commited.