github.com/drone/go-convert@v0.0.0-20240307072510-6bd371c65e61/convert/harness/downgrader/testdata/example-2.yaml (about)

     1  options:
     2    envs:
     3      RUBY_VERSION: "3.1"
     4      my-key: my-value
     5  
     6  kind: pipeline
     7  spec:
     8    stages:
     9      - name: test
    10        spec:
    11          clone: {}
    12          platform:
    13            arch: amd64
    14            os: linux
    15          runtime:
    16            spec: {}
    17            type: cloud
    18          steps:
    19            - name: Set up Ruby
    20              spec:
    21                uses: ruby/setup-ruby@359bebbc29cbe6c87da6bc9ea3bc930432750108
    22                with:
    23                  ruby-version: "3.1"
    24              type: action
    25            - name: Install dependencies
    26              spec:
    27                run: bundle install
    28              type: script
    29            - name: Run tests
    30              spec:
    31                run: bundle exec rake
    32              type: script
    33        type: ci
    34  version: 1