Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding CI pull request workflow #190

Merged
merged 1 commit into from
Nov 29, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
32 changes: 32 additions & 0 deletions .github/workflows/ci-pull.yml
Original file line number Diff line number Diff line change
@@ -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
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.