Workflows in CircleCI are a way to run parallel build jobs and can be used to define a collection of jobs and to specify a job order. Let us add a workflows field to the go-template-example-with-circle-ci (https://github.com/packtci/go-template-example-with-circle-ci) configuration YML script:
version: 2
jobs:
build:
...
integration:
....
workflows:
version: 2
build_and_integration:
jobs:
- build
- integration
In this workflow, we create two parallel jobs called build and integration respectively. They are independent of each other and this will help speed up the build process.