fix(java): place bean-validation @Valid on the type argument instead of the container (HV000271) #844
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Samples JAX-RS | |
| on: | |
| push: | |
| paths: | |
| - 'samples/server/petstore/jaxrs*/**' | |
| pull_request: | |
| paths: | |
| - 'samples/server/petstore/jaxrs*/**' | |
| jobs: | |
| build: | |
| name: Build JAX-RS | |
| runs-on: ubuntu-latest | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| sample: | |
| # servers | |
| - samples/server/petstore/jaxrs/jersey2 | |
| - samples/server/petstore/jaxrs/jersey2-useTags | |
| - samples/server/petstore/jaxrs-jersey | |
| - samples/server/petstore/jaxrs-spec | |
| - samples/server/petstore/jaxrs-spec-withxml | |
| - samples/server/petstore/jaxrs-spec-interface | |
| - samples/server/petstore/jaxrs-spec-interface-response | |
| - samples/server/petstore/jaxrs-datelib-j8 | |
| - samples/server/petstore/jaxrs-resteasy/default | |
| - samples/server/petstore/jaxrs-resteasy/eap | |
| - samples/server/petstore/jaxrs-resteasy/eap-joda | |
| - samples/server/petstore/jaxrs-resteasy/eap-java8 | |
| - samples/server/petstore/jaxrs-resteasy/joda | |
| - samples/server/petstore/jaxrs-cxf | |
| - samples/server/petstore/jaxrs-cxf-annotated-base-path | |
| - samples/server/petstore/jaxrs-cxf-cdi | |
| - samples/server/petstore/jaxrs-cxf-non-spring-app | |
| - samples/server/petstore/jaxrs-spec-microprofile-openapi-annotations | |
| - samples/server/petstore/jaxrs-spec-swagger-annotations | |
| - samples/server/petstore/jaxrs-spec-swagger-v3-annotations-jakarta | |
| - samples/server/petstore/jaxrs-spec-swagger-v3-annotations | |
| - samples/server/petstore/jaxrs-spec/quarkus-security | |
| steps: | |
| - uses: actions/checkout@v7 | |
| - uses: actions/setup-java@v5 | |
| with: | |
| distribution: 'temurin' | |
| java-version: 11 | |
| - name: Cache maven dependencies | |
| uses: actions/cache@v6 | |
| env: | |
| cache-name: maven-repository | |
| with: | |
| path: | | |
| ~/.m2 | |
| key: ${{ runner.os }}-${{ github.job }}-${{ env.cache-name }}-${{ hashFiles('**/pom.xml') }} | |
| - name: Build | |
| working-directory: ${{ matrix.sample }} | |
| run: mvn clean package --no-transfer-progress |