diff --git a/.github/workflows/ci-pull.yml b/.github/workflows/ci-pull.yml new file mode 100644 index 00000000..f111c1d3 --- /dev/null +++ b/.github/workflows/ci-pull.yml @@ -0,0 +1,32 @@ +# This workflow will build a Java project with Maven, and cache/restore any dependencies to improve the workflow execution time +# For more information see: https://docs.github.com/actions/automating-builds-and-tests/building-and-testing-java-with-maven + +name: Java CI with Maven on Pull + +on: + pull_request: + branches: [ "main" ] + +permissions: + contents: read + +jobs: + build: + + # TODO Enable strategy for next Jakarta Release Cycle + # strategy: + # matrix: + # java-version: [ '21', '25-ea' ] + + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1 + - name: Set up JDK 21 #${{ matrix.java-version }} + uses: actions/setup-java@0ab4596768b603586c0de567f2430c30f5b0d2b0 # v3.13.0 + with: + java-version: 21 #${{ matrix.java-version }} + distribution: 'temurin' + cache: maven + - name: Build API + run: mvn -B install --file pom.xml diff --git a/README.md b/README.md index 1fa4026d..368705ce 100644 --- a/README.md +++ b/README.md @@ -31,9 +31,9 @@ Want to join us? You can find all the relevant information about contributing to ## Continuous Integration -The official Continuous Integration service for the project is hosted on [ci.eclipse.org](https://ci.eclipse.org/bean-validation/). +The official Continuous Integration service for the project is hosted on [ci.eclipse.org](https://ci.eclipse.org/validation/). ## Publishing the Schemas The schema files should be published to the https://github.com/jakartaee/jakarta.ee website repository by following the procedure described at https://eclipse-ee4j.github.io/jakartaee-platform/publish-xml-schemas. The location for -the schema files in the repsitory is the static/xml/ns/validation directory. +the schema files in the repository is the static/xml/ns/validation directory.