YAML parse transform action
Last updated
Was this helpful?
Last updated
Was this helpful?
Was this helpful?
version: 2.1
# Define the jobs we want to run for this project
jobs:
build:
docker:
- image: cimg/base:2023.03
steps:
- checkout
- run: echo "this is the build job"
test:
docker:
- image: cimg/base:2023.03
steps:
- checkout
- run: echo "this is the test job"
# Orchestrate our job run sequence
workflows:
build_and_test:
jobs:
- build
- test{
"jobs": {
"test": {
"steps": [
"checkout",
{
"run": "echo \"this is the test job\""
}
],
"docker": [
{
"image": "cimg/base:2023.03"
}
]
},
"build": {
"steps": [
"checkout",
{
"run": "echo \"this is the build job\""
}
],
"docker": [
{
"image": "cimg/base:2023.03"
}
]
}
},
"version": 2.1,
"workflows": {
"build_and_test": {
"jobs": [
"build",
"test"
]
}
}
}