Skip to content

Prevent NPE in HtmlAttributes.getIndex #171

Prevent NPE in HtmlAttributes.getIndex

Prevent NPE in HtmlAttributes.getIndex #171

Workflow file for this run

name: Build
on:
push:
branches:
- main
pull_request:
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
matrix:
java: [17, 11.0.3, 18-ea]
os: [ubuntu-latest, macos-latest, windows-latest]
name: Java ${{ matrix.java }}
steps:
- uses: actions/checkout@v3
with:
submodules: true
- name: Set up java
uses: actions/setup-java@v3
with:
distribution: zulu
java-version: ${{ matrix.java }}
- name: Cache Maven packages
uses: actions/cache@v3
with:
path: ~/.m2
key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }}
restore-keys: ${{ runner.os }}-m2
- name: Build with Maven
run: mvn -B verify