Skip to content

ci(deps): bump actions/upload-artifact from 6 to 7 #46

ci(deps): bump actions/upload-artifact from 6 to 7

ci(deps): bump actions/upload-artifact from 6 to 7 #46

Workflow file for this run

name: Build & Test
on:
push:
branches: [ main, develop ]
pull_request:
branches: [ main ]
workflow_dispatch:
jobs:
build:
name: Java ${{ matrix.java }} on ${{ matrix.os }}
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
java: [ '11', '17', '21' ]
os: [ ubuntu-latest, windows-latest, macos-latest ]
steps:
- name: Checkout
uses: actions/checkout@v6
- name: Set up JDK ${{ matrix.java }}
uses: actions/setup-java@v5
with:
java-version: ${{ matrix.java }}
distribution: 'temurin'
cache: maven
- name: Build and Test
run: mvn clean verify --batch-mode --no-transfer-progress
- name: Upload Coverage to Codecov
if: matrix.java == '17' && matrix.os == 'ubuntu-latest'
uses: codecov/codecov-action@v5
with:
files: target/site/jacoco/jacoco.xml
fail_ci_if_error: false
- name: Upload Test Results
if: always()
uses: actions/upload-artifact@v7
with:
name: test-results-java${{ matrix.java }}-${{ matrix.os }}
path: target/surefire-reports/