Skip to content

Bump com.github.victools:jsonschema-generator from 4.36.0 to 4.37.0 #228

Bump com.github.victools:jsonschema-generator from 4.36.0 to 4.37.0

Bump com.github.victools:jsonschema-generator from 4.36.0 to 4.37.0 #228

Workflow file for this run

name: PR Maven Build
on:
pull_request:
paths:
- "**.xml"
- "*.yml"
- "src/**"
- "ide-config"
permissions:
contents: read
actions: read
env:
JAVA_VERSION: 17
NATIVE_VERSION: 22.3.2
GRAALVM_DIST: graalvm-community
JAVA_DISTRO: temurin
GH_BOT_EMAIL: "41898282+github-actions[bot]@users.noreply.github.com"
GH_BOT_NAME: "GitHub Action"
jobs:
metadata:
uses: ebullient/workflows/.github/workflows/java-snap-metadata.yml@main
build:
runs-on: ubuntu-latest
needs: [metadata]
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- uses: actions/cache/restore@6849a6489940f00c2f30c0fb92c6274307ccb58a # v4.1.2
id: tools5e-cache
with:
path: sources
key: Data-5etools-
restore-keys: |
Data-5etools-
Data-5etools
- uses: actions/cache/restore@6849a6489940f00c2f30c0fb92c6274307ccb58a # v4.1.2
id: pf2e-cache
with:
path: sources/Pf2eTools
key: Data-Pf2eTools-
restore-keys: |
Data-Pf2eTools-
Data-Pf2eTools
- name: Set up JDK ${{ env.JAVA_VERSION }}
uses: actions/setup-java@8df1039502a15bceb9433410b1a100fbe190c53b # v4.5.0
with:
java-version: ${{ env.JAVA_VERSION }}
distribution: ${{ env.JAVA_DISTRO }}
cache: maven
- name: Build with Maven
id: mvn-build
run: |
ls -al sources
./mvnw -B -ntp -DskipFormat verify
native-build:
name: Test on ${{ matrix.os }}
needs: [metadata]
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
max-parallel: 1
matrix:
os: [windows-latest, macos-latest, ubuntu-latest]
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- uses: actions/cache/restore@6849a6489940f00c2f30c0fb92c6274307ccb58a # v4.1.2
id: tools5e-cache
with:
path: sources
key: Data-5etools-
restore-keys: |
Data-5etools-
Data-5etools
enableCrossOsArchive: true
- uses: actions/cache/restore@6849a6489940f00c2f30c0fb92c6274307ccb58a # v4.1.2
id: cache
with:
path: sources/Pf2eTools
key: Data-Pf2eTools-
restore-keys: |
Data-Pf2eTools-
Data-Pf2eTools
enableCrossOsArchive: true
- uses: graalvm/setup-graalvm@557ffcf459751b4d92319ee255bf3bec9b73964c # v1.2.5
with:
distribution: ${{ env.GRAALVM_DIST }}
java-version: ${{ env.JAVA_VERSION }}
github-token: ${{ secrets.GITHUB_TOKEN }}
version: ${{ env.NATIVE_VERSION }}
cache: 'maven'
- name: Build and run in native mode
id: mvn-native-build
env:
MAVEN_OPTS: "-Xmx1g"
run: |
./mvnw -B -ntp -Dnative -DskipTests -DskipFormat verify