From 98a9af71a65518aae37d0517b35d29d4d96dab48 Mon Sep 17 00:00:00 2001 From: Alex Gaynor Date: Thu, 26 Jan 2023 18:28:51 -0800 Subject: [PATCH 1/2] fix env var for cargo sparse registry see https://github.com/rust-lang/cargo/pull/11632 --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 8a1436a49d16..84e04e89debb 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -17,7 +17,7 @@ concurrency: cancel-in-progress: true env: - REGISTRIES_CRATES_IO_PROTOCOL: sparse + CARGO_REGISTRIES_CRATES_IO_PROTOCOL: sparse jobs: linux: From df430dae4e1e14beeb8257f2cede03587c5c93e6 Mon Sep 17 00:00:00 2001 From: Alex Gaynor Date: Thu, 26 Jan 2023 18:33:18 -0800 Subject: [PATCH 2/2] Update ci.yml --- .github/workflows/ci.yml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 84e04e89debb..23c472bbc2c7 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -16,9 +16,6 @@ concurrency: group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.sha }} cancel-in-progress: true -env: - CARGO_REGISTRIES_CRATES_IO_PROTOCOL: sparse - jobs: linux: runs-on: ubuntu-latest @@ -270,6 +267,8 @@ jobs: - nightly name: "Rust Coverage" timeout-minutes: 15 + env: + CARGO_REGISTRIES_CRATES_IO_PROTOCOL: sparse steps: - uses: actions/checkout@v3.3.0 timeout-minutes: 3