Skip to content

Commit 80adae0

Browse files
committed
Fixup
1 parent 35e6f64 commit 80adae0

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

.github/workflows/bench.yml

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ jobs:
2828
run: |
2929
# Parse `issue_comment` body
3030
printf '${{ github.event.comment.body }}' > comment.txt
31-
BENCH_COMMAND=$(head -n 1 comment.txt)
31+
BENCH_COMMAND=$(head -n 1 comment.txt | tr -d '\r')
3232
echo "$BENCH_COMMAND"
3333
3434
BENCHES=$(echo $BENCH_COMMAND | awk -F'!benchmark ' '{ print $2 }')
@@ -84,8 +84,6 @@ jobs:
8484
- name: Run bench on base branch
8585
run: |
8686
lake exe ${{ matrix.bench }}
87-
ls
88-
ls .lake/benches/*
8987
working-directory: ${{ github.workspace }}/base
9088
- name: Checkout PR branch
9189
uses: actions/checkout@v5
@@ -105,15 +103,13 @@ jobs:
105103
- name: Run bench on PR branch and generate comparison report
106104
run: |
107105
BENCH_REPORT=1 lake exe ${{ matrix.bench }}
108-
ls
109-
ls .lake/benches/*
110106
working-directory: ${{ github.workspace }}/pr
111107
- name: Get env for PR body
112108
if: always()
113109
run: |
114110
SHORT_SHA_PR=$(git rev-parse --short HEAD)
115111
REPO_URL=${{ github.server_url }}/${{ github.repository }}
116-
echo "COMMIT_LINK=[$SHORT_SHA_PR]($REPO_URL/commit/${{ github.sha }})" | tee -a $GITHUB_ENV
112+
echo "COMMIT_LINK=[\`$SHORT_SHA_PR\`]($REPO_URL/commit/${{ github.sha }})" | tee -a $GITHUB_ENV
117113
echo "WORKFLOW_LINK=[Workflow logs]($REPO_URL/actions/runs/${{ github.run_id }})" | tee -a $GITHUB_ENV
118114
working-directory: ${{ github.workspace }}/pr
119115
- name: Build benchmark comment body

0 commit comments

Comments
 (0)