bump gradle wrapper from 8.10.2 to 8.12 #1280
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 | |
'on': | |
push: | |
branches-ignore: | |
# branch name globs actually MUST be put in single (not: double) quotes | |
- 'dependabot/npm**' | |
jobs: | |
xmllint: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4.2.0 | |
- name: install xmllint | |
run: sudo apt update && sudo apt-get install --no-install-recommends -y libxml2-utils | |
- uses: korelstar/xmllint-problem-matcher@v1.2.0 | |
- name: validate HTML templates | |
run: find src/main/resources/{templates,pages} -type f -iname "*.html" -exec xmllint --noout {} \; | |
build: | |
runs-on: ubuntu-latest | |
needs: xmllint | |
strategy: | |
matrix: | |
java-version: [17, 21, 23] | |
steps: | |
- name: checkout code | |
uses: actions/checkout@v4.2.0 | |
- name: set up jdk | |
uses: actions/setup-java@v4.5.0 | |
with: | |
distribution: temurin | |
java-version: ${{ matrix.java-version }} | |
- name: run tests && build project | |
run: ./gradlew build --no-daemon --warning-mode all | |
- uses: mikepenz/action-junit-report@v5.0.0 | |
if: always() | |
with: | |
report_paths: 'build/test-results/test/TEST-*.xml' | |
... |