LauroSilveira has started workflow #34
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
name: CI Workflow | |
run-name: ${{ github.actor }} has started workflow | |
on: | |
push: | |
branches: [ "main" ] | |
pull_request: | |
branches: [ "main" ] | |
permissions: | |
contents: read | |
actions: read | |
checks: write | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
## Set up to use JDK 17 | |
- name: Set up JDK 17 | |
uses: actions/setup-java@v3 | |
with: | |
java-version: '17' | |
distribution: 'temurin' | |
cache: maven | |
## Build and execute every test | |
- name: Build and test with Maven | |
run: mvn -B package --file pom.xml | |
- name: Test Report | |
uses: dorny/[email protected] | |
if: success() || failure() | |
with: | |
name: Test Report Summary | |
reporter: java-junit | |
path: target/surefire-reports/*.xml |