Skip to content

Commit

Permalink
Enable sparse protocol in CI
Browse files Browse the repository at this point in the history
  • Loading branch information
ehuss committed Jan 26, 2023
1 parent 2ccd950 commit 7b2343e
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,9 @@ 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')"

# Deny warnings on CI to avoid warnings getting into the codebase.
- run: cargo test --features 'deny-warnings'
Expand Down Expand Up @@ -140,6 +143,8 @@ jobs:

build_std:
runs-on: ubuntu-latest
env:
CARGO_REGISTRIES_CRATES_IO_PROTOCOL: sparse
steps:
- uses: actions/checkout@v3
- run: rustup update nightly && rustup default nightly
Expand Down

0 comments on commit 7b2343e

Please sign in to comment.