Skip to content

Merge pull request #69 from 1c-syntax/dependabot/gradle/org.sonarqube… #267

Merge pull request #69 from 1c-syntax/dependabot/gradle/org.sonarqube…

Merge pull request #69 from 1c-syntax/dependabot/gradle/org.sonarqube… #267

Workflow file for this run

name: Java CI
on: [push, pull_request]
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
java_version: ['17', '20']
os: [ubuntu-latest, windows-latest, macOS-latest]
steps:
- uses: actions/checkout@v4
with:
submodules: true
- name: Set up JDK ${{ matrix.java_version }}
uses: actions/setup-java@v4
with:
java-version: ${{ matrix.java_version }}
distribution: 'adopt'
- name: Build with Gradle
run: ./gradlew check --stacktrace
- name: Archive test results
if: failure()
uses: actions/[email protected]
with:
name: junit_report_${{ matrix.os }}_${{ matrix.java_version }}
path: build/reports/tests/test