We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2ccd950 commit 7b2343eCopy full SHA for 7b2343e
.github/workflows/main.yml
@@ -81,6 +81,9 @@ jobs:
81
- name: Configure extra test environment
82
run: echo CARGO_CONTAINER_TESTS=1 >> $GITHUB_ENV
83
if: matrix.os == 'ubuntu-latest'
84
+ - name: Enable sparse
85
+ run: echo CARGO_REGISTRIES_CRATES_IO_PROTOCOL=sparse >> $GITHUB_ENV
86
+ if: "!contains(matrix.rust, 'stable')"
87
88
# Deny warnings on CI to avoid warnings getting into the codebase.
89
- run: cargo test --features 'deny-warnings'
@@ -140,6 +143,8 @@ jobs:
140
143
141
144
build_std:
142
145
runs-on: ubuntu-latest
146
+ env:
147
+ CARGO_REGISTRIES_CRATES_IO_PROTOCOL: sparse
148
steps:
149
- uses: actions/checkout@v3
150
- run: rustup update nightly && rustup default nightly
0 commit comments