Using Workflows in CircleCI
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.
Workflows in action in CircleCI Web UI
We can see the workflows in the CircleCI web UI if we click on the Workflows
link in the left navigation pane. You then need to click on a specific project which in this case is go-template-example-with-circle-ci
as shown in the following screenshot:

If you click on the RUNNING
workflow, you...