Skip to content

rm postCreateCommand from devcontainer as it doesnt do anything anyway #805

rm postCreateCommand from devcontainer as it doesnt do anything anyway

rm postCreateCommand from devcontainer as it doesnt do anything anyway #805

Workflow file for this run

---
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-20.04
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-20.04
needs: xmllint
strategy:
matrix:
java-version:
- 17
- 19
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
...