Fix metric disable when using the constructor injection of the Grpc Client #1878
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: Pull Request CI | |
on: ['pull_request'] | |
jobs: | |
build: | |
name: Build on java ${{ matrix.java }} | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
java: ['17', '21'] | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
- name: Validate Gradle wrapper | |
uses: gradle/wrapper-validation-action@v3 | |
- name: Set up java ${{ matrix.java }} | |
uses: actions/setup-java@v4 | |
with: | |
distribution: temurin | |
java-version: ${{ matrix.java }} | |
check-latest: true | |
- name: Build with Gradle | |
uses: gradle/actions/setup-gradle@v3 | |
with: | |
arguments: --scan --stacktrace --warning-mode=all build | |
# Avoid publish errors when upgrading gradle version and dependencyManager plugin | |
- name: Try publishToMavenLocal | |
uses: gradle/actions/setup-gradle@v3 | |
with: | |
arguments: publishToMavenLocal |