Skip to content

Project updated (#29) #16

Project updated (#29)

Project updated (#29) #16

Workflow file for this run

# 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://help.github.com/actions/language-and-framework-guides/building-and-testing-java-with-maven
name: Java CI with Maven
on:
push:
branches:
- master
- issue-*
permissions:
contents: write
jobs:
build_and_test:
name: Build and Test
runs-on: ubuntu-latest
steps:
- name: checkout Git repository
uses: actions/checkout@v4
- name: Install Java and Maven
uses: actions/setup-java@v4
with:
java-version: '21'
distribution: 'adopt'
cache: maven
- name: Build the Project and run tests
run: mvn clean install
- name: Test Report
uses: dorny/test-reporter@v2
if: success() || failure()
with:
name: Test Results
path: ${{ github.workspace }}/target/surefire-reports/TEST-TestSuite.xml
reporter: java-junit