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

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