Bump mikepenz/action-junit-report from 4 to 5 #554
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: Build and Test | |
on: | |
pull_request: | |
branches: | |
- main | |
- series/** | |
push: | |
branches: | |
- main | |
- series/** | |
- feature/** | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
scala: [2.13.x, 3.3.x] | |
java: [17] | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up JDK ${{ matrix.java }} | |
uses: actions/setup-java@v4 | |
with: | |
java-version: ${{ matrix.java }} | |
distribution: temurin | |
cache: sbt | |
- uses: sbt/setup-sbt@v1 | |
- name: Build with sbt | |
run: sbt ++${{ matrix.scala }} build | |
- name: Publish Test Report | |
uses: mikepenz/action-junit-report@v5 | |
if: always() | |
with: | |
report_paths: '**/target/test-reports/*.xml' | |
require_tests: true | |
check_name: '${{ matrix.java }}-${{ matrix.scala }}-${{ matrix.project }}' | |
- name: Create Test Summary | |
uses: test-summary/action@v2 | |
with: | |
paths: '**/target/test-reports/*.xml' | |
if: always() | |
- name: Code Coverage | |
uses: codecov/codecov-action@v4 | |
env: | |
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} |