ci: use sparse crates.io registries in CI (#1057)

This commit is contained in:
Clement Tsang 2023-03-12 15:43:30 -04:00 committed by GitHub
parent c2d66af72f
commit 7f4e762921
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
6 changed files with 9 additions and 0 deletions

View File

@ -38,6 +38,7 @@ env:
CARGO_INCREMENTAL: 0
CARGO_PROFILE_DEV_DEBUG: 0
CARGO_HUSKY_DONT_INSTALL_HOOKS: true
CARGO_REGISTRIES_CRATES_IO_PROTOCOL: sparse
test_task:
auto_cancellation: false

View File

@ -25,6 +25,7 @@ env:
CARGO_HUSKY_DONT_INSTALL_HOOKS: true
COMPLETION_DIR: "target/tmp/bottom/completion/"
MANPAGE_DIR: "target/tmp/bottom/manpage/"
CARGO_REGISTRIES_CRATES_IO_PROTOCOL: sparse
# TODO: Maybe add retry job in case of timeouts?
jobs:

View File

@ -35,6 +35,7 @@ env:
CARGO_HUSKY_DONT_INSTALL_HOOKS: true
COMPLETION_DIR: "target/tmp/bottom/completion/"
MANPAGE_DIR: "target/tmp/bottom/manpage/"
CARGO_REGISTRIES_CRATES_IO_PROTOCOL: sparse
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}

View File

@ -14,6 +14,8 @@ on:
env:
CARGO_INCREMENTAL: 0
CARGO_HUSKY_DONT_INSTALL_HOOKS: true
CARGO_REGISTRIES_CRATES_IO_PROTOCOL: sparse
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}

View File

@ -17,6 +17,8 @@ on:
env:
CARGO_INCREMENTAL: 0
CARGO_PROFILE_DEV_DEBUG: 0
CARGO_HUSKY_DONT_INSTALL_HOOKS: true
CARGO_REGISTRIES_CRATES_IO_PROTOCOL: sparse
jobs:
initialize-release-job:

View File

@ -16,6 +16,8 @@ on:
env:
CARGO_INCREMENTAL: 0
CARGO_PROFILE_DEV_DEBUG: 0
CARGO_HUSKY_DONT_INSTALL_HOOKS: true
CARGO_REGISTRIES_CRATES_IO_PROTOCOL: sparse
jobs:
# TODO: Add a pre-job check to skip if no change; may want to add something to check if there is a new rust version/week limit of skips?