github.com/drone/go-convert@v0.0.0-20240307072510-6bd371c65e61/convert/bitbucket/yaml/testdata/steps/example13.yaml.golden (about)

     1  {
     2      "pipelines": {
     3          "default": [
     4              {
     5                  "stage": {
     6                      "name": "Build and test",
     7                      "condition": {
     8                          "changesets": {
     9                              "includePaths": [
    10                                  "path1/*.xml",
    11                                  "path2/**"
    12                              ]
    13                          }
    14                      },
    15                      "steps": [
    16                          {
    17                              "step": {
    18                                  "name": "Build app",
    19                                  "script": [
    20                                      "sh ./build-app.sh"
    21                                  ]
    22                              }
    23                          },
    24                          {
    25                              "step": {
    26                                  "name": "Run unit tests",
    27                                  "script": [
    28                                      "sh ./run-tests.sh"
    29                                  ]
    30                              }
    31                          }
    32                      ]
    33                  }
    34              }
    35          ]
    36      }
    37  }