github.com/drone/go-convert@v0.0.0-20240307072510-6bd371c65e61/convert/github/testdata/using-jobs/matrixes-1.yaml.golden (about)

     1  kind: pipeline
     2  spec:
     3    stages:
     4    - name: example_matrix
     5      spec:
     6        platform:
     7          arch: amd64
     8          os: linux
     9        runtime:
    10          spec: {}
    11          type: cloud
    12        steps:
    13        - spec:
    14            uses: actions/setup-node@v3
    15            with:
    16              node-version: ${{ matrix.node }}
    17          type: action
    18        - spec:
    19            run: npm install -g npm@${{ matrix.npm }}
    20          type: script
    21        - spec:
    22            run: npm --version
    23          type: script
    24      strategy:
    25        spec:
    26          axis:
    27            node:
    28            - "12"
    29            - "14"
    30            - "16"
    31            os:
    32            - windows-latest
    33            - ubuntu-latest
    34          include:
    35          - node: "16"
    36            npm: "6"
    37            os: windows-latest
    38        type: matrix
    39      type: ci
    40  version: 1