Skip to content

Improve native image CI diagnostics #33

Improve native image CI diagnostics

Improve native image CI diagnostics #33

name: Windows Preflight
on:
pull_request:
branches:
- master
- '[1-9]+.[0-9]+.x'
paths:
- '.github/workflows/**'
- '.github/scripts/**'
- '.mvn/wrapper/**'
- 'mvnw'
- 'mvnw.cmd'
merge_group:
types: [checks_requested]
paths:
- '.github/workflows/**'
- '.github/scripts/**'
- '.mvn/wrapper/**'
- 'mvnw'
- 'mvnw.cmd'
workflow_dispatch:
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
workflow-hardening:
runs-on: ubuntu-latest
steps:
- name: "📥 Checkout repository"
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
- name: "🛡 Verify workflow pinning"
run: bash .github/scripts/check-workflow-pinning.sh
windows-wrapper:
needs:
- workflow-hardening
runs-on: windows-latest
strategy:
matrix:
java: ['25']
steps:
- name: "📥 Checkout repository"
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
- name: "☕️ Install Java"
uses: actions/setup-java@be666c2fcd27ec809703dec50e508c2fdc7f6654 # v5
with:
distribution: 'temurin'
java-version: ${{ matrix.java }}
cache: 'maven'
- name: "🔎 Run Windows wrapper preflight"
shell: cmd
run: .github\scripts\windows-preflight.cmd