Skip to content

Commit

Permalink
chore: Use sparse protocol on stable CI
Browse files Browse the repository at this point in the history
  • Loading branch information
Muscraft committed Mar 10, 2023
1 parent 3c35bf1 commit b6205c9
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,9 @@ defaults:
permissions:
contents: read

env:
CARGO_REGISTRIES_CRATES_IO_PROTOCOL: sparse

jobs:
# Check Code style quickly by running `rustfmt` over all code
rustfmt:
Expand Down Expand Up @@ -97,9 +100,6 @@ jobs:
- name: Configure extra test environment
run: echo CARGO_CONTAINER_TESTS=1 >> $GITHUB_ENV
if: matrix.os == 'ubuntu-latest'
- name: Enable sparse
run: echo CARGO_REGISTRIES_CRATES_IO_PROTOCOL=sparse >> $GITHUB_ENV
if: "!contains(matrix.rust, 'stable')"

- run: cargo test
- name: Clear intermediate test output
Expand Down

0 comments on commit b6205c9

Please sign in to comment.