Skip to content

Merge pull request #50 from 1c-syntax/dependabot/github_actions/actio… #201

Merge pull request #50 from 1c-syntax/dependabot/github_actions/actio…

Merge pull request #50 from 1c-syntax/dependabot/github_actions/actio… #201

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: ['11', '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