Skip to content

Add setup-java to add JDK 21 to the runner host #46

Add setup-java to add JDK 21 to the runner host

Add setup-java to add JDK 21 to the runner host #46

Workflow file for this run

name: CI
on:
push:
branches:
- main
pull_request:
branches:
- main
workflow_dispatch:
jobs:
build:
strategy:
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
fail-fast: false
runs-on: ${{ matrix.os }}
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Java
uses: actions/setup-java@v4
with:
distribution: 'zulu'
java-version: '21'
- name: Build
run: |
bazelisk build //...
- name: Test
run: |
bazelisk test //...