forked from thesaurus-linguae-aegyptiae/tla-web
-
Notifications
You must be signed in to change notification settings - Fork 0
60 lines (41 loc) · 1.15 KB
/
gradle.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
---
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/[email protected]
- name: install xmllint
run: sudo apt update && sudo apt-get install --no-install-recommends -y libxml2-utils
- uses: korelstar/[email protected]
- 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
steps:
- name: checkout code
uses: actions/[email protected]
- name: set up jdk
uses: actions/[email protected]
with:
distribution: temurin
java-version: ${{ matrix.java-version }}
cache: gradle
- name: run tests && build project
run: ./gradlew build --no-daemon
- uses: mikepenz/[email protected]
if: always()
with:
report_paths: 'build/test-results/test/TEST-*.xml'
...