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

Folders and files

NameName
Last commit message
Last commit date
Mar 8, 2024
Feb 19, 2024
Oct 28, 2022
Oct 28, 2022
Oct 28, 2022
Oct 28, 2022
Oct 28, 2022
Feb 8, 2023
Nov 1, 2022
Nov 6, 2022
Nov 24, 2022
Nov 6, 2022
Nov 6, 2022
Nov 6, 2022
Nov 6, 2022
Nov 6, 2022
Mar 3, 2025
Mar 3, 2025
Nov 14, 2022
Nov 14, 2022
Nov 6, 2022
Oct 28, 2022
Oct 28, 2022
Oct 28, 2022
Nov 14, 2022

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.