Update the group last modified date when updating a group [when unique group id is disabled] #561
Workflow file for this run
This file contains 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
# This workflow will build the project on pull requests with tests | |
# Uses: | |
# OS: ubuntu-latest | |
# JDK: Temurin JDK 11 and Adopt JDK 17 | |
name: PR Builder | |
on: | |
pull_request: | |
branches: [main, master] | |
workflow_dispatch: | |
env: | |
MAVEN_OPTS: -Xmx4g -Xms1g | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
env: | |
JAVA_TOOL_OPTIONS: "-Djdk.util.zip.disableZip64ExtraFieldValidation=true -Djdk.nio.zipfs.allowDotZipEntry=true" | |
strategy: | |
matrix: | |
java-version: [ 11, 17 ] | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up Temurin JDK 11 and 17 | |
uses: actions/setup-java@v4 | |
with: | |
java-version: ${{ matrix.java-version }} | |
distribution: "temurin" | |
- name: Cache local Maven repository | |
id: cache-maven-m2 | |
uses: actions/cache@v4 | |
env: | |
cache-name: cache-m2 | |
with: | |
path: ~/.m2/repository | |
key: ${{ runner.os }}-maven-${{ env.cache-name }}-${{ hashFiles('**/pom.xml') }} | |
restore-keys: | | |
${{ runner.os }}-maven-${{ env.cache-name }}- | |
${{ runner.os }}-maven- | |
${{ runner.os }}- | |
- name: Build with Maven | |
run: mvn clean install -U -B | |
- name: Generate coverage report | |
run: mvn test jacoco:report | |
- name: Upload coverage reports to Codecov | |
uses: codecov/codecov-action@v4 | |
with: | |
token: ${{ secrets.CODECOV_TOKEN }} | |
files : target/site/jacoco/jacoco.xml | |
flags: unit |