Skip to content

Merge pull request #69 from ithsjava25/showactiveincidents #6

Merge pull request #69 from ithsjava25/showactiveincidents

Merge pull request #69 from ithsjava25/showactiveincidents #6

Workflow file for this run

name: CI - Build and Test
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v6
- name: Set up JDK 25
uses: actions/setup-java@v5
with:
distribution: 'temurin'
java-version: '25'
cache: 'maven'
check-latest: true
- name: Check code formatting with Spotless
run: mvn spotless:check
- name: Run tests with Maven
run: mvn test
- name: Upload test results
if: always()
uses: actions/upload-artifact@v7
with:
name: test-reports
path: target/surefire-reports/