From dd6458b30a4c1ecf4fab1eaffb4563734c5df284 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bartek=20Iwa=C5=84czuk?= Date: Thu, 8 Jun 2023 04:04:07 +0200 Subject: [PATCH] chore: upgrade to Rust 1.68.2 (#19416) Also prints disk size in release builds. --- .github/workflows/ci.generate.ts | 7 ++++++- .github/workflows/ci.yml | 5 ++++- rust-toolchain.toml | 2 +- 3 files changed, 11 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.generate.ts b/.github/workflows/ci.generate.ts index efe9e17de5..616d4653bc 100755 --- a/.github/workflows/ci.generate.ts +++ b/.github/workflows/ci.generate.ts @@ -575,7 +575,12 @@ const ci = { "(github.ref == 'refs/heads/main' ||", "startsWith(github.ref, 'refs/tags/'))))", ].join("\n"), - run: "cargo build --release --locked --all-targets", + run: [ + // output fs space before and after building + "df -h", + "cargo build --release --locked --all-targets", + "df -h", + ].join("\n"), }, { name: "Upload PR artifact (linux)", diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 8a20b6cd23..a2cfa572c9 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -349,7 +349,10 @@ jobs: (github.repository == 'denoland/deno' && (github.ref == 'refs/heads/main' || startsWith(github.ref, 'refs/tags/'))))) - run: cargo build --release --locked --all-targets + run: |- + df -h + cargo build --release --locked --all-targets + df -h - name: Upload PR artifact (linux) if: |- !(github.event_name == 'pull_request' && matrix.skip_pr) && (matrix.job == 'test' && diff --git a/rust-toolchain.toml b/rust-toolchain.toml index b2cf8c5f28..434cca4575 100644 --- a/rust-toolchain.toml +++ b/rust-toolchain.toml @@ -1,3 +1,3 @@ [toolchain] -channel = "1.68.0" +channel = "1.68.2" components = ["rustfmt", "clippy"]