Skip to content

Fix DBI bind_param, regex \Q delimiter escaping, JDBC error normalization, and more #1893

Fix DBI bind_param, regex \Q delimiter escaping, JDBC error normalization, and more

Fix DBI bind_param, regex \Q delimiter escaping, JDBC error normalization, and more #1893

Workflow file for this run

name: Java CI with Gradle
on:
push:
branches: [ "master" ]
pull_request:
branches: [ "master" ]
jobs:
build:
# Define a matrix to run the job on multiple operating systems
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [windows-latest, ubuntu-latest]
steps:
- uses: actions/checkout@v4
- name: Set up JDK 22
uses: actions/setup-java@v4
with:
java-version: '22'
distribution: 'temurin'
- name: Setup Gradle
uses: gradle/actions/setup-gradle@v4
# Use Makefile's 'ci' target which handles platform differences
# Windows: builds without tests to avoid Gradle daemon socket errors
# Linux: full build with tests
- name: Build with Make (Windows)
if: runner.os == 'Windows'
shell: cmd
run: make ci
env:
GRADLE_OPTS: "-Dorg.gradle.daemon=false"
- name: Build with Make (Linux)
if: runner.os == 'Linux'
run: make ci
- name: Generate SBOM (Linux only)
if: runner.os == 'Linux'
run: make sbom
- name: Upload SBOM artifacts
if: runner.os == 'Linux'
uses: actions/upload-artifact@v4
with:
name: sbom
path: |
build/reports/sbom.json
retention-days: 90
- name: Upload test results
if: failure()
uses: actions/upload-artifact@v4
with:
name: test-results-${{ matrix.os }}
path: build/reports/tests/test/