Skip to content

Optional Chaining Operator ?. #1015

Optional Chaining Operator ?.

Optional Chaining Operator ?. #1015

Workflow file for this run

name: Rhino CI
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
permissions: read-all
jobs:
build:
runs-on: ubuntu-latest
strategy:
# Some tests require more CPU, and all can use multiple CPUs
max-parallel: 1
matrix:
java: [ '11', '17', '21' ]
name: Rhino Java ${{ matrix.java }}
steps:
- name: Checkout
uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3.6.0
- name: Check out test262
# We don't actually want all the history for this part
run: git submodule update --init --single-branch
- name: Set up Java
uses: actions/setup-java@99b8673ff64fbf99d8d325f52d9a5bdedb8483e9 # v4.2.1
with:
java-version: ${{ matrix.java }}
distribution: 'adopt'
- name: Check everything with Gradle
run: >-
./gradlew check
- name: Upload results
uses: actions/upload-artifact@834a144ee995460fba8ed112a2fc961b36a5ec5a # v4.3.6
with:
name: reports-java-${{ matrix.java }}
path: '*/build/reports'