Skip to content

Commit fea7e1d

Browse files
committed
Generally clean up a few things.
1 parent d673725 commit fea7e1d

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed

.github/actions/build-with-patched-std/action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ outputs:
2121
description: The size in bytes of the built test binary
2222
value: ${{ steps.measure.outputs.test-binary-size }}
2323
runs:
24-
using: "composite"
24+
using: composite
2525
steps:
2626
- shell: bash
2727
id: measure

.github/workflows/check-binary-size.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,8 @@ jobs:
5050
- name: Set up std repository and backtrace submodule for size test
5151
shell: bash
5252
working-directory: ${{ env.RUSTC_DIR }}
53+
env:
54+
PR_SOURCE_REPO: ${{ github.event.pull_request.head.repo.full_name }}
5355
run: |
5456
# Bootstrap config
5557
cat <<EOF > config.toml
@@ -69,19 +71,19 @@ jobs:
6971
git submodule update --init library/backtrace
7072
7173
cd library/backtrace
72-
git remote add head-pr https://github.com/${{ github.event.pull_request.head.repo.full_name }}
74+
git remote add head-pr "https://github.com/$PR_SOURCE_REPO"
7375
git fetch --all
7476
- name: Build binary with base version of backtrace
7577
uses: ./backtrace/.github/actions/build-with-patched-std
7678
with:
77-
backtrace-commit: $BASE_COMMIT
79+
backtrace-commit: ${{ env.BASE_COMMIT }}
7880
main-rs: ${{ env.TEST_MAIN_RS }}
7981
rustc-dir: ${{ env.RUSTC_DIR }}
8082
id: size-reference
8183
- name: Build binary with PR version of backtrace
8284
uses: ./backtrace/.github/actions/build-with-patched-std
8385
with:
84-
backtrace-commit: $HEAD_COMMIT
86+
backtrace-commit: ${{ env.HEAD_COMMIT }}
8587
main-rs: ${{ env.TEST_MAIN_RS }}
8688
rustc-dir: ${{ env.RUSTC_DIR }}
8789
id: size-updated

0 commit comments

Comments
 (0)