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

     1  kind: pipeline
     2  spec:
     3    stages:
     4    - name: build
     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 JDK 11
    15          spec:
    16            uses: actions/setup-java@v3
    17            with:
    18              cache: maven
    19              distribution: temurin
    20              java-version: "11"
    21          type: action
    22        - name: Build with Maven
    23          spec:
    24            run: mvn -B package --file pom.xml
    25          type: script
    26        - name: Update dependency graph
    27          spec:
    28            uses: advanced-security/maven-dependency-submission-action@571e99aab1055c2e71a1e2309b9691de18d6b7d6
    29          type: action
    30      type: ci
    31  version: 1