Skip to content

Commit

Permalink
New release preparation (#643)
Browse files Browse the repository at this point in the history
New release preparation

Signed-off-by: David Kral <david.k.kral@oracle.com>
  • Loading branch information
Verdent authored May 22, 2024
1 parent 2f0ad11 commit 7230b7f
Show file tree
Hide file tree
Showing 19 changed files with 145 additions and 446 deletions.
17 changes: 5 additions & 12 deletions .github/workflows/maven.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#
# Copyright (c) 2021, 2022 Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2021, 2024 Oracle and/or its affiliates. All rights reserved.
#
# This program and the accompanying materials are made available under the
# terms of the Eclipse Public License v. 2.0 which is available at
Expand All @@ -21,32 +21,25 @@ jobs:

strategy:
matrix:
java_version: [ 11, 17 ]
java_version: [ 17, 21 ]

steps:
- name: Checkout for build
uses: actions/checkout@v2.3.4
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Set up compile JDK
uses: actions/setup-java@v4
with: #Compile java needs to be the highest to ensure proper compilation of the multi-release jar
with:
distribution: 'temurin'
java-version: 17
java-version: ${{ matrix.java_version }}
cache: 'maven'
- name: Copyright
run: bash etc/copyright.sh
- name: Checkstyle
run: mvn -B checkstyle:checkstyle
- name: Yasson install
# run: mvn -U -C -Pstaging clean install -DskipTests
run: mvn -U -C clean install -DskipTests
- name: Set up JDK for tests
uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: ${{ matrix.java_version }}
cache: 'maven'
- name: Yasson tests
run: mvn -U -B -C -Dmaven.javadoc.skip=true -Pstaging verify
- name: JSONB-API TCK
Expand Down
4 changes: 2 additions & 2 deletions etc/checkstyle.xml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
Copyright (c) 2019, 2022 Oracle and/or its affiliates. All rights reserved.
Copyright (c) 2019, 2024 Oracle and/or its affiliates. All rights reserved.
This program and the accompanying materials are made available under the
terms of the Eclipse Public License v. 2.0 which is available at
Expand Down Expand Up @@ -88,7 +88,7 @@
<!-- Checks for Javadoc comments. -->
<!-- See http://checkstyle.sf.net/config_javadoc.html -->
<module name="JavadocMethod">
<property name="scope" value="protected"/>
<property name="accessModifiers" value="protected"/>
<property name="allowMissingReturnTag" value="true"/>
<property name="allowMissingParamTags" value="true"/>
</module>
Expand Down
Loading

0 comments on commit 7230b7f

Please sign in to comment.