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

     1  {
     2      "pipelines": {
     3          "default": [
     4              {
     5                  "stage": {
     6                      "name": "Linting",
     7                      "steps": [
     8                          {
     9                              "step": {
    10                                  "script": [
    11                                      "sh ./run-linter.sh"
    12                                  ]
    13                              }
    14                          }
    15                      ]
    16                  }
    17              },
    18              {
    19                  "stage": {
    20                      "name": "Build and test",
    21                      "trigger": "manual",
    22                      "steps": [
    23                          {
    24                              "step": {
    25                                  "name": "Build app",
    26                                  "script": [
    27                                      "sh ./build-app.sh"
    28                                  ]
    29                              }
    30                          },
    31                          {
    32                              "step": {
    33                                  "name": "Run unit tests",
    34                                  "script": [
    35                                      "sh ./run-tests.sh"
    36                                  ]
    37                              }
    38                          }
    39                      ]
    40                  }
    41              }
    42          ]
    43      }
    44  }