Skip to content

Commit df67499

Browse files
traskotelbot[bot]
authored andcommitted
Fix benchmark
1 parent a0d13cf commit df67499

File tree

1 file changed

+11
-5
lines changed

1 file changed

+11
-5
lines changed

.github/workflows/benchmark.yml

Lines changed: 11 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,14 @@ jobs:
1818
image: ubuntu:24.04@sha256:a08e551cb33850e4740772b38217fc1796a66da2506d312abe51acda354ff061
1919
timeout-minutes: 10
2020
steps:
21+
- name: Install Git
22+
run: |
23+
apt-get update
24+
apt-get install -y git
25+
26+
- name: Configure Git safe directory
27+
run: git config --global --add safe.directory "$GITHUB_WORKSPACE"
28+
2129
- uses: actions/checkout@08eba0b27e820071cde6df949e0beb9ba4906955 # v4.3.0
2230

2331
- id: setup-java
@@ -37,11 +45,9 @@ jobs:
3745
cd sdk/trace/build
3846
java -jar libs/opentelemetry-sdk-trace-*-jmh.jar -rf json SpanBenchmark SpanPipelineBenchmark ExporterBenchmark
3947
40-
- name: Install Git # since Git isn't available in the container image used above
41-
run: |
42-
apt-get update
43-
apt-get install -y git
44-
48+
- name: Use CLA approved github bot
49+
run: .github/scripts/use-cla-approved-github-bot.sh
50+
4551
- name: Store benchmark results
4652
uses: benchmark-action/github-action-benchmark@d48d326b4ca9ba73ca0cd0d59f108f9e02a381c7 # v1.20.4
4753
with:

0 commit comments

Comments
 (0)