Skip to content

Bump org.springframework.boot:spring-boot-starter-parent #47

Bump org.springframework.boot:spring-boot-starter-parent

Bump org.springframework.boot:spring-boot-starter-parent #47

Workflow file for this run

name: Build and test
on:
push:
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up JDK 17
uses: actions/setup-java@v3
with:
java-version: '17'
distribution: 'adopt'
- name: Cache local Maven repository
uses: actions/cache@v3
with:
path: ~/.m2/repository
key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
restore-keys: |
${{ runner.os }}-maven-
- name: Build with Maven
run: mvn --batch-mode -DskipTests package
- name: Run tests
run: mvn --batch-mode -Dmaven.test.failure.ignore=true test
- name: Upload test results
uses: actions/upload-artifact@v3 # upload test results
if: success() || failure() # run this step even if previous step failed
with:
name: test-results
path: target/surefire-reports/*.xml