mirror of
https://github.com/ClementTsang/bottom.git
synced 2025-07-23 21:55:11 +02:00
ci: use sparse crates.io registries in CI (#1057)
This commit is contained in:
parent
c2d66af72f
commit
7f4e762921
@ -38,6 +38,7 @@ env:
|
|||||||
CARGO_INCREMENTAL: 0
|
CARGO_INCREMENTAL: 0
|
||||||
CARGO_PROFILE_DEV_DEBUG: 0
|
CARGO_PROFILE_DEV_DEBUG: 0
|
||||||
CARGO_HUSKY_DONT_INSTALL_HOOKS: true
|
CARGO_HUSKY_DONT_INSTALL_HOOKS: true
|
||||||
|
CARGO_REGISTRIES_CRATES_IO_PROTOCOL: sparse
|
||||||
|
|
||||||
test_task:
|
test_task:
|
||||||
auto_cancellation: false
|
auto_cancellation: false
|
||||||
|
1
.github/workflows/build_releases.yml
vendored
1
.github/workflows/build_releases.yml
vendored
@ -25,6 +25,7 @@ env:
|
|||||||
CARGO_HUSKY_DONT_INSTALL_HOOKS: true
|
CARGO_HUSKY_DONT_INSTALL_HOOKS: true
|
||||||
COMPLETION_DIR: "target/tmp/bottom/completion/"
|
COMPLETION_DIR: "target/tmp/bottom/completion/"
|
||||||
MANPAGE_DIR: "target/tmp/bottom/manpage/"
|
MANPAGE_DIR: "target/tmp/bottom/manpage/"
|
||||||
|
CARGO_REGISTRIES_CRATES_IO_PROTOCOL: sparse
|
||||||
|
|
||||||
# TODO: Maybe add retry job in case of timeouts?
|
# TODO: Maybe add retry job in case of timeouts?
|
||||||
jobs:
|
jobs:
|
||||||
|
1
.github/workflows/ci.yml
vendored
1
.github/workflows/ci.yml
vendored
@ -35,6 +35,7 @@ env:
|
|||||||
CARGO_HUSKY_DONT_INSTALL_HOOKS: true
|
CARGO_HUSKY_DONT_INSTALL_HOOKS: true
|
||||||
COMPLETION_DIR: "target/tmp/bottom/completion/"
|
COMPLETION_DIR: "target/tmp/bottom/completion/"
|
||||||
MANPAGE_DIR: "target/tmp/bottom/manpage/"
|
MANPAGE_DIR: "target/tmp/bottom/manpage/"
|
||||||
|
CARGO_REGISTRIES_CRATES_IO_PROTOCOL: sparse
|
||||||
|
|
||||||
concurrency:
|
concurrency:
|
||||||
group: ${{ github.workflow }}-${{ github.ref }}
|
group: ${{ github.workflow }}-${{ github.ref }}
|
||||||
|
2
.github/workflows/coverage.yml
vendored
2
.github/workflows/coverage.yml
vendored
@ -14,6 +14,8 @@ on:
|
|||||||
|
|
||||||
env:
|
env:
|
||||||
CARGO_INCREMENTAL: 0
|
CARGO_INCREMENTAL: 0
|
||||||
|
CARGO_HUSKY_DONT_INSTALL_HOOKS: true
|
||||||
|
CARGO_REGISTRIES_CRATES_IO_PROTOCOL: sparse
|
||||||
|
|
||||||
concurrency:
|
concurrency:
|
||||||
group: ${{ github.workflow }}-${{ github.ref }}
|
group: ${{ github.workflow }}-${{ github.ref }}
|
||||||
|
2
.github/workflows/deployment.yml
vendored
2
.github/workflows/deployment.yml
vendored
@ -17,6 +17,8 @@ on:
|
|||||||
env:
|
env:
|
||||||
CARGO_INCREMENTAL: 0
|
CARGO_INCREMENTAL: 0
|
||||||
CARGO_PROFILE_DEV_DEBUG: 0
|
CARGO_PROFILE_DEV_DEBUG: 0
|
||||||
|
CARGO_HUSKY_DONT_INSTALL_HOOKS: true
|
||||||
|
CARGO_REGISTRIES_CRATES_IO_PROTOCOL: sparse
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
initialize-release-job:
|
initialize-release-job:
|
||||||
|
2
.github/workflows/nightly.yml
vendored
2
.github/workflows/nightly.yml
vendored
@ -16,6 +16,8 @@ on:
|
|||||||
env:
|
env:
|
||||||
CARGO_INCREMENTAL: 0
|
CARGO_INCREMENTAL: 0
|
||||||
CARGO_PROFILE_DEV_DEBUG: 0
|
CARGO_PROFILE_DEV_DEBUG: 0
|
||||||
|
CARGO_HUSKY_DONT_INSTALL_HOOKS: true
|
||||||
|
CARGO_REGISTRIES_CRATES_IO_PROTOCOL: sparse
|
||||||
|
|
||||||
jobs:
|
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?
|
# 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?
|
||||||
|
Loading…
x
Reference in New Issue
Block a user