Always output logging.googleapis.com/trace_sampled as true #586
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 Build" | |
on: | |
pull_request: | |
branches: | |
- main | |
jobs: | |
test: | |
strategy: | |
matrix: | |
java-version: [11] | |
build-root: [".", "examples/instrumentation-quickstart"] | |
include: | |
- build-root: . | |
name: root | |
name: Test (${{matrix.name || matrix.build-root}}, java-${{matrix.java-version}}) | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
with: | |
fetch-depth: 0 | |
- id: setup-java | |
name: Setup Java ${{matrix.java-version}} | |
uses: actions/setup-java@v1 | |
with: | |
java-version: ${{matrix.java-version}} | |
- uses: burrunan/[email protected] | |
with: | |
job-id: java-${{matrix.java-version}} | |
remote-build-cache-proxy-enabled: false | |
build-root-directory: ${{matrix.build-root}} | |
arguments: test | |
shadow: | |
strategy: | |
matrix: | |
java-version: [11] | |
name: Shadow Jar Build (Java ${{matrix.java-version}}) | |
runs-on: ubuntu-latest | |
steps: | |
- id: checkout-repo | |
uses: actions/checkout@v2 | |
with: | |
fetch-depth: 0 | |
- id: setup-java | |
name: Setup Java ${{matrix.java-version}} | |
uses: actions/setup-java@v1 | |
with: | |
java-version: ${{matrix.java-version}} | |
- id: setup-gradle-cache | |
name: Run Gradle Build with ShadowJar | |
uses: burrunan/[email protected] | |
with: | |
job-id: gradle-shadow-java-${{matrix.java-version}} | |
remote-build-cache-proxy-enabled: false | |
build-root-directory: . | |
arguments: shadowJar | |
style: | |
name: Stylecheck (${{matrix.name || matrix.build-root}}) | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
java-version: [11] | |
build-root: [".", "examples/instrumentation-quickstart"] | |
include: | |
- build-root: . | |
name: root | |
steps: | |
- uses: actions/checkout@v2 | |
with: | |
fetch-depth: 0 | |
- id: setup-java | |
name: Setup Java ${{matrix.java-version}} | |
uses: actions/setup-java@v1 | |
with: | |
java-version: ${{matrix.java-version}} | |
- uses: burrunan/[email protected] | |
with: | |
job-id: java-${{matrix.java-version}} | |
remote-build-cache-proxy-enabled: false | |
build-root-directory: ${{matrix.build-root}} | |
arguments: spotlessCheck |