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

     1  kind: pipeline
     2  spec:
     3    stages:
     4    - name: test
     5      spec:
     6        clone: {}
     7        platform:
     8          arch: amd64
     9          os: linux
    10        runtime:
    11          spec: {}
    12          type: cloud
    13        steps:
    14        - name: Set up Ruby
    15          spec:
    16            uses: ruby/setup-ruby@ee2113536afb7f793eed4ce60e8d3b26db912da4
    17            with:
    18              bundler-cache: true
    19              ruby-version: ${{ matrix.ruby-version }}
    20          type: action
    21        - name: Run tests
    22          spec:
    23            run: bundle exec rake
    24          type: script
    25      strategy:
    26        spec:
    27          axis:
    28            ruby-version:
    29            - "2.6"
    30            - "2.7"
    31            - "3.0"
    32        type: matrix
    33      type: ci
    34  version: 1