Skip to content

Bump com.google.truth.extensions:truth-proto-extension (#559) #842

Bump com.google.truth.extensions:truth-proto-extension (#559)

Bump com.google.truth.extensions:truth-proto-extension (#559) #842

Workflow file for this run

name: Gradle Build
on:
push:
branches:
- master
pull_request:
jobs:
gradle:
strategy:
matrix:
os: [ubuntu-latest, macos-latest]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
- uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: '11'
cache: 'gradle'
- uses: gradle/gradle-build-action@v3
- name: Test on Mac
if: matrix.os == 'macos-latest'
run: |
brew install docker
colima start --network-address
export TESTCONTAINERS_DOCKER_SOCKET_OVERRIDE=/var/run/docker.sock
export TESTCONTAINERS_HOST_OVERRIDE=$(colima ls -j | jq -r '.address')
export DOCKER_HOST="unix://${HOME}/.colima/default/docker.sock"
./gradlew test
- name: Test on Ubuntu
if: matrix.os == 'ubuntu-latest'
run: |
./gradlew test