Skip to content

Commit

Permalink
Merge pull request #190 from mswatosh/actions
Browse files Browse the repository at this point in the history
Adding CI pull request workflow
  • Loading branch information
starksm64 committed Nov 29, 2023
2 parents e9fbd8b + c73ca93 commit 1e7c46a
Show file tree
Hide file tree
Showing 2 changed files with 34 additions and 2 deletions.
32 changes: 32 additions & 0 deletions .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
4 changes: 2 additions & 2 deletions README.md
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.

0 comments on commit 1e7c46a

Please sign in to comment.