Skip to content

fix(page): DOM text reinterpreted as HTML #20

fix(page): DOM text reinterpreted as HTML

fix(page): DOM text reinterpreted as HTML #20

Workflow file for this run

name: CI
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
permissions:
contents: write
checks: write
pull-requests: write
jobs:
build:
name: Build & Test (JDK ${{ matrix.java }})
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
java: [ '17' ]
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set up JDK ${{ matrix.java }}
uses: actions/setup-java@v4
with:
java-version: ${{ matrix.java }}
distribution: 'temurin'
cache: maven
- name: Build & Test with JaCoCo
id: build
run: mvn clean verify -Paggregate-report -B -ntp
- name: Publish Test Results
uses: dorny/test-reporter@v1
if: >-
always()
&& (steps.build.outcome == 'success' || steps.build.outcome == 'failure')
&& github.event_name != 'pull_request'
|| github.event.pull_request.head.repo.full_name == github.repository
with:
name: Test Results (JDK ${{ matrix.java }})
path: '**/target/surefire-reports/TEST-*.xml'
reporter: java-junit
only-summary: 'true'
list-tests: 'failed'
- name: Generate JaCoCo Coverage Report
uses: madrapps/jacoco-report@v1.7.1
if: >-
always()
&& (steps.build.outcome == 'success' || steps.build.outcome == 'failure')
&& github.event_name == 'pull_request'
with:
paths: '**/target/site/jacoco-aggregate/jacoco.xml'
token: ${{ secrets.GITHUB_TOKEN }}
title: Code Coverage Report
update-comment: true
min-coverage-overall: 50
min-coverage-changed-files: 60
- name: Upload Test Reports
if: failure()
uses: actions/upload-artifact@v4
with:
name: test-reports-jdk${{ matrix.java }}
path: '**/target/surefire-reports/'
retention-days: 7
- name: Upload JaCoCo Reports
if: always()
uses: actions/upload-artifact@v4
with:
name: jacoco-reports-jdk${{ matrix.java }}
path: '**/target/site/jacoco*/'
retention-days: 7