From 97ec0526629aa9211927bb7f5bb5d3c30becd230 Mon Sep 17 00:00:00 2001 From: Jubilee Young Date: Fri, 13 Sep 2024 23:13:52 -0700 Subject: [PATCH 1/3] Use actions/upload-artifact@v4.1.7 --- .github/workflows/check-binary-size.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/check-binary-size.yml b/.github/workflows/check-binary-size.yml index b6e1f931..bca37faa 100644 --- a/.github/workflows/check-binary-size.yml +++ b/.github/workflows/check-binary-size.yml @@ -126,7 +126,7 @@ jobs: { flag: "wx" }, ); - name: Upload size data - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4.1.7 with: name: size-files path: ${{ env.SIZE_DATA_DIR }}/${{ env.SIZE_DATA_FILE }} From 73107a868b8ef30fe0dd20a4f61b9b04bbcc0410 Mon Sep 17 00:00:00 2001 From: Jubilee Young Date: Fri, 13 Sep 2024 23:18:51 -0700 Subject: [PATCH 2/3] Use actions/checkout@v4 --- .github/workflows/check-binary-size.yml | 6 +++--- .github/workflows/main.yml | 16 ++++++++-------- 2 files changed, 11 insertions(+), 11 deletions(-) diff --git a/.github/workflows/check-binary-size.yml b/.github/workflows/check-binary-size.yml index bca37faa..7f8303d8 100644 --- a/.github/workflows/check-binary-size.yml +++ b/.github/workflows/check-binary-size.yml @@ -45,11 +45,11 @@ jobs: # patched in to std. It's cloned here to access the Github action for # building and measuring the test binary. - name: Clone backtrace to access Github action - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: path: ${{ env.BACKTRACE_DIR }} - name: Clone Rustc - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: repository: rust-lang/rust path: ${{ env.RUSTC_DIR }} @@ -140,7 +140,7 @@ jobs: pull-requests: write steps: # Clone backtrace to access Github composite actions to report size. - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Download size data uses: actions/download-artifact@v4.1.7 with: diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 0103a099..81d37b2f 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -39,7 +39,7 @@ jobs: - os: windows-latest rust: nightly-x86_64-gnu steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: submodules: true - name: Install Rust (rustup) @@ -133,7 +133,7 @@ jobs: name: Windows AArch64 runs-on: windows-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: submodules: true - name: Install Rust @@ -155,7 +155,7 @@ jobs: - target: x86_64-apple-ios sdk: iphonesimulator steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: submodules: true - run: rustup target add ${{ matrix.target }} @@ -189,7 +189,7 @@ jobs: - i686-linux-android - x86_64-linux-android steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: submodules: true - name: Install Rust @@ -204,7 +204,7 @@ jobs: name: Rustfmt runs-on: ubuntu-20.04 steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: submodules: true - name: Install Rust @@ -223,7 +223,7 @@ jobs: - x86_64-fortanix-unknown-sgx - x86_64-unknown-illumos steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: submodules: true - name: Install Rust @@ -244,7 +244,7 @@ jobs: - os: ubuntu-20.04 - os: windows-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: submodules: true - name: Install Rust @@ -255,7 +255,7 @@ jobs: name: Miri runs-on: ubuntu-20.04 steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: submodules: true - name: Install Miri From 99d7d4c68cf9896b3410f4cfe87d7709d6f9b1a6 Mon Sep 17 00:00:00 2001 From: Jubilee Young Date: Fri, 13 Sep 2024 23:40:28 -0700 Subject: [PATCH 3/3] Use an improbably large change-id That message is just annoying spam for our purposes. --- .github/workflows/check-binary-size.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/check-binary-size.yml b/.github/workflows/check-binary-size.yml index 7f8303d8..cada5359 100644 --- a/.github/workflows/check-binary-size.yml +++ b/.github/workflows/check-binary-size.yml @@ -61,6 +61,7 @@ jobs: run: | # Bootstrap config cat < config.toml + change-id = 9999999 [llvm] download-ci-llvm = true [rust]