Skip to content

Commit

Permalink
Add workaround for windows spurious network error
Browse files Browse the repository at this point in the history
  • Loading branch information
HadrienG2 authored Oct 2, 2023
1 parent bbb65dc commit 4a7af95
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,9 @@ name: Continuous Integration

env:
RUSTFLAGS: -D warnings
MSRV: 1.70.0
MINIMAL_RUST: 1.70.0 # Minimal Supported Rust Version
CARGO_NET_GIT_FETCH_WITH_CLI: 1 # Workaround for windows "spurious network error".
# Try to remove it on the next MSRV bump.

jobs:
# Auto-format, clippy and rustc lints do not depend on the operating system
Expand Down Expand Up @@ -76,7 +78,7 @@ jobs:
- macos-latest
rust:
- stable
- $MSRV # Minimum supported Rust version
- $MINIMAL_RUST

steps:
- name: Checkout sources
Expand Down Expand Up @@ -115,7 +117,7 @@ jobs:
rust:
- beta
- nightly
- $MSRV # Minimum supported Rust version (can be broken by deps)
- $MINIMAL_RUST # Can be broken by deps

steps:
- name: Checkout sources
Expand Down

0 comments on commit 4a7af95

Please sign in to comment.