Skip to content

Commit 92d35dc

Browse files
committed
debug
1 parent eda92b9 commit 92d35dc

File tree

1 file changed

+15
-3
lines changed

1 file changed

+15
-3
lines changed

.github/workflows/benchmark.yml

Lines changed: 15 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ on:
1212
push:
1313
branches:
1414
- main
15-
- dependabot/scottgerring/benchmark-fix
15+
# - dependabot/scottgerring/benchmark-fix
1616
name: benchmark pull requests
1717
permissions:
1818
contents: read
@@ -46,7 +46,10 @@ jobs:
4646

4747
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
4848
with:
49-
fetch-depth: 10 # Fetch current commit and its parent
49+
fetch-depth: 0 # Fetch full history for git-based tools
50+
51+
- name: Make repo safe for Git inside container
52+
run: git config --global --add safe.directory "$GITHUB_WORKSPACE"
5053

5154
- name: Setup container environment
5255
run: |
@@ -57,13 +60,22 @@ jobs:
5760
run: |
5861
cargo bench
5962
echo 'Benchmark run complete'
60-
63+
64+
- name: Debug Git state (optional)
65+
run: |
66+
echo "GITHUB_WORKSPACE=$GITHUB_WORKSPACE"
67+
ls -alh "$GITHUB_WORKSPACE/.git" || echo ".git not found"
68+
git rev-parse HEAD || echo "Not a git repo"
69+
6170
- uses: arduino/setup-protoc@c65c819552d16ad3c9b72d9dfd5ba5237b9c906b # v3.0.0
6271
with:
6372
repo-token: ${{ secrets.GITHUB_TOKEN }}
73+
6474
- uses: dtolnay/rust-toolchain@56f84321dbccf38fb67ce29ab63e4754056677e0
6575
with:
6676
toolchain: stable
77+
6778
- uses: boa-dev/criterion-compare-action@adfd3a94634fe2041ce5613eb7df09d247555b87 # v3.2.4
6879
with:
80+
cwd: opentelemetry-appender-tracing # TEMP - make the run shorter for now
6981
branchName: ${{ env.BRANCH_NAME }}

0 commit comments

Comments
 (0)