Skip to content

Fix build failures, add comments #254

Fix build failures, add comments

Fix build failures, add comments #254

Workflow file for this run

name: "build"
on:
push:
branches:
- "!dependabot/*"
- "*"
pull_request:
branches:
- "*"
merge_group:
types:
- "checks_requested"
jobs:
build:
runs-on: "ubuntu-latest"
strategy:
matrix:
java: [ 8, 17, 19 ] # Oldest, LTS, Latest
name: "Java ${{ matrix.java }} Build"
steps:
- uses: "actions/checkout@v4"
- uses: "actions/setup-java@v4"
with:
distribution: "adopt"
java-package: "jdk"
java-version: "${{ matrix.java }}"
- uses: "bufbuild/buf-setup-action@v1"
with:
version: "1.18.0"
github_token: ${{ github.token }}
- uses: "gradle/wrapper-validation-action@v3"
- name: "Gradle Build"
run: "./gradlew build"
test:
runs-on: "ubuntu-latest"
strategy:
matrix:
java: [ 8, 17, 19 ] # Oldest, LTS, Latest
name: "Java ${{ matrix.java }} Test"
steps:
- uses: "actions/checkout@v4"
- uses: "actions/setup-java@v4"
with:
distribution: "adopt"
java-package: "jdk"
java-version: "${{ matrix.java }}"
- uses: "bufbuild/buf-setup-action@v1"
with:
version: "1.18.0"
github_token: ${{ github.token }}
- uses: "authzed/action-spicedb@v1"
with:
version: "latest"
- uses: "gradle/wrapper-validation-action@v3"
- name: "Gradle integrationTest"
run: "./gradlew integrationTest --info"