Skip to content

Update to Java version 17 (#69) #246

Update to Java version 17 (#69)

Update to Java version 17 (#69) #246

Workflow file for this run

name: CI
on:
push:
pull_request:
jobs:
build:
name: Build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up JDK 1.8
uses: actions/setup-java@v1
with:
java-version: '8.0.265'
- name: Setup bin directory
run: |
mkdir -p $HOME/bin
echo "$HOME/bin" >> $GITHUB_PATH
- name: Setup build dependencies
run: |
wget https://github.com/bazelbuild/bazelisk/releases/download/v1.6.0/bazelisk-linux-amd64
chmod +x bazelisk-linux-amd64
mv bazelisk-linux-amd64 $HOME/bin/bazelisk
- name: Build
run: bazelisk build //...
- name: Test
run: bazelisk test //...