diff options
author | Clement Tsang <34804052+ClementTsang@users.noreply.github.com> | 2023-03-12 15:43:30 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-03-12 15:43:30 -0400 |
commit | 7f4e7629213d55723616d2cbfc0699c942e07017 (patch) | |
tree | 120451398931edad3567396fc78144a60d6933e7 /.github | |
parent | c2d66af72f5b38d450fa15d0e5d8382d5308b93c (diff) |
ci: use sparse crates.io registries in CI (#1057)
Diffstat (limited to '.github')
-rw-r--r-- | .github/workflows/build_releases.yml | 1 | ||||
-rw-r--r-- | .github/workflows/ci.yml | 1 | ||||
-rw-r--r-- | .github/workflows/coverage.yml | 2 | ||||
-rw-r--r-- | .github/workflows/deployment.yml | 2 | ||||
-rw-r--r-- | .github/workflows/nightly.yml | 2 |
5 files changed, 8 insertions, 0 deletions
diff --git a/.github/workflows/build_releases.yml b/.github/workflows/build_releases.yml index ba6cbb52..3773c47d 100644 --- a/.github/workflows/build_releases.yml +++ b/.github/workflows/build_releases.yml @@ -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: diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 556d387d..d7b9feb8 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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 }} diff --git a/.github/workflows/coverage.yml b/.github/workflows/coverage.yml index ad2d9a5f..535c5a90 100644 --- a/.github/workflows/coverage.yml +++ b/.github/workflows/coverage.yml @@ -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 }} diff --git a/.github/workflows/deployment.yml b/.github/workflows/deployment.yml index 359d6300..1c06381f 100644 --- a/.github/workflows/deployment.yml +++ b/.github/workflows/deployment.yml @@ -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: diff --git a/.github/workflows/nightly.yml b/.github/workflows/nightly.yml index c01f0f4f..2b05204d 100644 --- a/.github/workflows/nightly.yml +++ b/.github/workflows/nightly.yml @@ -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? |