Skip to content

Commit

Permalink
Avoid cargo 1.43–1.45 in GitHub Actions
Browse files Browse the repository at this point in the history
These versions are incompatible with some recent GitHub change.

    error: failed to get `proc-macro2` as a dependency of package `async-trait v0.1.56 (/home/runner/work/async-trait/async-trait)`

    Caused by:
      failed to load source for dependency `proc-macro2`

    Caused by:
      Unable to update registry `https://github.com/rust-lang/crates.io-index`

    Caused by:
      failed to fetch `https://github.com/rust-lang/crates.io-index`

    Caused by:
      error reading from the zlib stream; class=Zlib (5)
  • Loading branch information
dtolnay committed Jul 27, 2022
1 parent 2cc3532 commit a386446
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
strategy:
fail-fast: false
matrix:
rust: [beta, stable, 1.45.0]
rust: [beta, stable, 1.46.0]
include:
- rust: nightly
rustflags: --cfg async_trait_nightly_testing
Expand Down

0 comments on commit a386446

Please sign in to comment.