Bump com.google.protobuf:protobuf-kotlin from 3.25.3 to 4.27.0 in /examples #896
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Gradle Build | |
on: | |
push: | |
branches: | |
- master | |
pull_request: | |
jobs: | |
gradle: | |
strategy: | |
matrix: | |
os: [ubuntu-latest, macos-12] | |
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-12' | |
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 |