From b6205c95fd5547a0a955995f4e89f66e4aaddfdb Mon Sep 17 00:00:00 2001 From: Scott Schafer Date: Fri, 10 Mar 2023 11:13:31 -0600 Subject: [PATCH] chore: Use sparse protocol on stable CI --- .github/workflows/main.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index f1774b459bb..93a55a6a6ed 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -12,6 +12,9 @@ defaults: permissions: contents: read +env: + CARGO_REGISTRIES_CRATES_IO_PROTOCOL: sparse + jobs: # Check Code style quickly by running `rustfmt` over all code rustfmt: @@ -97,9 +100,6 @@ jobs: - name: Configure extra test environment run: echo CARGO_CONTAINER_TESTS=1 >> $GITHUB_ENV if: matrix.os == 'ubuntu-latest' - - name: Enable sparse - run: echo CARGO_REGISTRIES_CRATES_IO_PROTOCOL=sparse >> $GITHUB_ENV - if: "!contains(matrix.rust, 'stable')" - run: cargo test - name: Clear intermediate test output