Skip to content
/ workflow Public
generated from goyek/template

Customizable goyek workflow

License

Notifications You must be signed in to change notification settings

goyek/workflow

Repository files navigation

goyek reusable workflow

Go Reference go.mod LICENSE Build Status Go Report Card

Star this repository if you find it valuable and worth maintaining.

Description

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.

Build Pipeline

The default all build pipeline consists of following stages:

  • init
  • build
  • test

Stages

The init stage consists of following tasks:

  • go-tidy
  • go-generate

The build stage consists of following tasks:

  • go-build

The test stage consists of following tasks:

  • go-vet
  • go-test

Additional Tasks

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.

About

Customizable goyek workflow

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published