Skip to content

Commit af47c6c

Browse files
authored
fixes #8450 -- enable sparse registry everywhere
1 parent 6461a44 commit af47c6c

File tree

1 file changed

+3
-12
lines changed

1 file changed

+3
-12
lines changed

.github/workflows/ci.yml

Lines changed: 3 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,9 @@ concurrency:
1616
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.sha }}
1717
cancel-in-progress: true
1818

19+
env:
20+
CARGO_REGISTRIES_CRATES_IO_PROTOCOL: sparse
21+
1922
jobs:
2023
linux:
2124
runs-on: ubuntu-latest
@@ -45,8 +48,6 @@ jobs:
4548
- {VERSION: "3.11", TOXENV: "py311", OPENSSL: {TYPE: "openssl", VERSION: "03fa5127ded6ba0dc9f178090eca0dbe70769c0e"}}
4649
name: "${{ matrix.PYTHON.TOXENV }} ${{ matrix.PYTHON.OPENSSL.TYPE }} ${{ matrix.PYTHON.OPENSSL.VERSION }} ${{ matrix.PYTHON.TOXARGS }} ${{ matrix.PYTHON.OPENSSL.CONFIG_FLAGS }}"
4750
timeout-minutes: 15
48-
env:
49-
CARGO_REGISTRIES_CRATES_IO_PROTOCOL: sparse
5051
steps:
5152
- uses: actions/[email protected]
5253
timeout-minutes: 3
@@ -147,8 +148,6 @@ jobs:
147148
- {IMAGE: "ubuntu-jammy:aarch64", TOXENV: "py310", RUNNER: [self-hosted, Linux, ARM64]}
148149
- {IMAGE: "alpine:aarch64", TOXENV: "py310", RUNNER: [self-hosted, Linux, ARM64]}
149150
timeout-minutes: 15
150-
env:
151-
CARGO_REGISTRIES_CRATES_IO_PROTOCOL: sparse
152151
steps:
153152
- name: Ridiculous alpine workaround for actions support on arm64
154153
run: |
@@ -269,8 +268,6 @@ jobs:
269268
- nightly
270269
name: "Rust Coverage"
271270
timeout-minutes: 15
272-
env:
273-
CARGO_REGISTRIES_CRATES_IO_PROTOCOL: sparse
274271
steps:
275272
- uses: actions/[email protected]
276273
timeout-minutes: 3
@@ -451,8 +448,6 @@ jobs:
451448
JOB_NUMBER: [0, 1]
452449
name: "${{ matrix.PYTHON.TOXENV }} on ${{ matrix.WINDOWS.WINDOWS }} (part ${{ matrix.JOB_NUMBER }})"
453450
timeout-minutes: 15
454-
env:
455-
CARGO_REGISTRIES_CRATES_IO_PROTOCOL: sparse
456451
steps:
457452
- uses: actions/[email protected]
458453
timeout-minutes: 3
@@ -527,8 +522,6 @@ jobs:
527522
- '3.11'
528523
name: "Downstream tests for ${{ matrix.DOWNSTREAM }}"
529524
timeout-minutes: 15
530-
env:
531-
CARGO_REGISTRIES_CRATES_IO_PROTOCOL: sparse
532525
steps:
533526
- uses: actions/[email protected]
534527
timeout-minutes: 3
@@ -572,8 +565,6 @@ jobs:
572565
runs-on: ubuntu-latest
573566
name: "linkcheck"
574567
timeout-minutes: 10
575-
env:
576-
CARGO_REGISTRIES_CRATES_IO_PROTOCOL: sparse
577568
steps:
578569
- uses: actions/[email protected]
579570
with:

0 commit comments

Comments
 (0)