Skip to content

Commit

Permalink
chore: Use sparse protocol on stable CI
Browse files Browse the repository at this point in the history
  • Loading branch information
Muscraft committed Mar 10, 2023
1 parent 3c35bf1 commit 6125352
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ jobs:
CARGO_PROFILE_TEST_DEBUG: 1
CARGO_INCREMENTAL: 0
CARGO_PUBLIC_NETWORK_TESTS: 1
CARGO_REGISTRIES_CRATES_IO_PROTOCOL: sparse
# Deny warnings on CI to avoid warnings getting into the codebase.
RUSTFLAGS: -D warnings
strategy:
Expand Down Expand Up @@ -97,9 +98,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
Expand Down

0 comments on commit 6125352

Please sign in to comment.