Update grpc-netty, grpc-protobuf, grpc-stub to 1.61.0 #2005
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: CI | |
on: [push, pull_request] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
env: | |
SCALA_VERSION: ${{matrix.scala}} | |
strategy: | |
matrix: | |
scala: [2_12, 2_13, 3] | |
script: [mima, e2e, test] | |
include: | |
- scala: 2_12 | |
script: examples_and_formatting | |
- scala: 2_13 | |
script: scala3_compat_test | |
- scala: 3 | |
script: scala3_compat_test | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-java@v3 | |
with: | |
java-version: 8 | |
distribution: temurin | |
- name: Mount caches | |
uses: actions/cache@v3 | |
with: | |
path: | | |
~/.sbt | |
~/.ivy2/cache | |
~/.cache/coursier | |
key: ${{ runner.os }}-sbt-${{matrix.scala}}-${{matrix.script}}-${{ hashFiles('**/*.sbt') }} | |
- name: ${{matrix.script}} | |
run: | | |
./${{matrix.script}}.sh | |
env: | |
JAVA_OPTS: -Xmx4G -XX:+UseG1GC | |
JVM_OPTS: -Xmx4G -XX:+UseG1GC | |
conformance: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/cache@v3 | |
id: conformance-cache | |
with: | |
key: conformance-${{ runner.os }}-${{hashFiles('conformance/build_test_runner.sh')}} | |
path: /tmp/conformance-test-runner | |
# Build conformance_test_runner on a cache miss | |
- uses: bazelbuild/setup-bazelisk@v2 | |
if: steps.conformance-cache.outputs.cache-hit != 'true' | |
- uses: actions/cache@v3 | |
if: steps.conformance-cache.outputs.cache-hit != 'true' | |
with: | |
path: | | |
~/.cache/bazel | |
key: bazel | |
- run: conformance/build_test_runner.sh | |
if: steps.conformance-cache.outputs.cache-hit != 'true' | |
- uses: actions/cache@v3 | |
with: | |
path: | | |
~/.sbt | |
~/.ivy2/cache | |
~/.cache/coursier | |
key: ${{ runner.os }}-sbt-${{matrix.scala}}-${{matrix.script}}-${{ hashFiles('**/*.sbt') }} | |
- run: | | |
sbt conformanceJVM2_13/assembly | |
/tmp/conformance-test-runner/conformance_test_runner --enforce_recommended \ | |
--failure_list conformance/failure_list_scalapb.txt \ | |
--text_format_failure_list conformance/text_format_failure_list_scalapb.txt \ | |
conformance/target/jvm-2.13/conformance | |
shell: bash | |
# Single final job for mergify. | |
ci-passed: | |
runs-on: ubuntu-latest | |
needs: [build, conformance] | |
steps: | |
- run: ':' |