chore(deps): update prom/prometheus docker digest to 9abc6cf #1404
Workflow file for this run
This file contains hidden or 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: Build | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
workflow_dispatch: | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.sha }} | |
cancel-in-progress: true | |
jobs: | |
build: | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
os: | |
- macos-latest | |
- ubuntu-latest | |
- windows-latest | |
steps: | |
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 | |
- name: Set up JDK for running Gradle | |
uses: actions/setup-java@c5195efecf7bdfc987ee8bae7a71cb8b11521c00 # v4.7.1 | |
with: | |
distribution: temurin | |
java-version: 17 | |
- name: Set up gradle | |
uses: gradle/actions/setup-gradle@8379f6a1328ee0e06e2bb424dadb7b159856a326 # v4.4.0 | |
with: | |
cache-read-only: ${{ github.event_name == 'pull_request' }} | |
- name: Build | |
run: ./gradlew clean check shadowJar | |
- run: java -cp sdk-usage/build/libs/opentelemetry-examples-sdk-usage-0.1.0-SNAPSHOT-all.jar io.opentelemetry.sdk.example.ConfigureSpanProcessorExample | |
# this is not a required check to avoid blocking pull requests if external links break | |
markdown-link-check: | |
uses: ./.github/workflows/reusable-markdown-link-check.yml | |
required-status-check: | |
needs: | |
- build | |
runs-on: ubuntu-latest | |
if: always() | |
steps: | |
- if: needs.build.result != 'success' | |
run: exit 1 |