Skip to content

enhancement: Switch to gRPC channel builder to support Unix domain sockets #116

enhancement: Switch to gRPC channel builder to support Unix domain sockets

enhancement: Switch to gRPC channel builder to support Unix domain sockets #116

Workflow file for this run

---
name: Test
on:
pull_request:
branches:
- main
jobs:
testMatrix:
runs-on: ubuntu-latest
permissions:
contents: read
strategy:
matrix:
java: ['11', '17']
name: "Java ${{ matrix.java }}"
steps:
- uses: actions/checkout@v4
- uses: actions/setup-java@v4
with:
java-version: '${{ matrix.java }}'
distribution: 'temurin'
cache: 'gradle'
- name: Validate Gradle wrapper
uses: gradle/wrapper-validation-action@v3
- name: Run tests
run: ./gradlew test
afterTestMatrix:
runs-on: ubuntu-latest
needs: testMatrix
if: success()
outputs:
success: ${{ steps.setoutput.outputs.success }}
steps:
- id: setoutput
run: |-
echo "::set-output name=success::true"
testSuccess:
runs-on: ubuntu-latest
needs: [testMatrix, afterTestMatrix]
if: always()
steps:
- run: |-
if [[ "${{ needs.afterTestMatrix.outputs.success}}" == "true" ]]; then
exit 0
else
exit 1
fi