Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
27 changes: 11 additions & 16 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,36 +9,32 @@ on:

jobs:
check:
name: check
runs-on: ubuntu-latest
strategy:
matrix:
build: [msrv, stable]
features:
[
"",
"--no-default-features",
"--no-default-features --features use_alloc",
"--all-targets --all-features",
]
include:
- build: msrv
rust: 1.62.1
- build: stable
rust: stable
exclude:
- build: msrv
# we only care about the MSRV with respect to the lib target
features: "--all-targets --all-features"
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@master
with:
toolchain: ${{ matrix.rust }}
- uses: dtolnay/rust-toolchain@stable
- run: cargo check ${{ matrix.features }}

msrv:
runs-on: ubuntu-latest
env:
CARGO_NET_GIT_FETCH_WITH_CLI: true
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

the 1.43.1 version of cargo does not appear to work in CI without this line. This should be reviewed on the next MSRV bump

steps:
- uses: actions/checkout@v4
- uses: taiki-e/install-action@cargo-no-dev-deps
- uses: dtolnay/[email protected]
- run: cargo no-dev-deps check

test:
name: test
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
Expand All @@ -62,7 +58,6 @@ jobs:
if: success()
runs-on: ubuntu-latest
needs: [check, test]

steps:
- name: Mark the job as successful
run: exit 0
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ exclude = ["/bors.toml"]

edition = "2018"

rust-version = "1.36.0"
rust-version = "1.43.1"

[lib]
bench = false
Expand Down
2 changes: 1 addition & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
//!
//! ## Rust Version
//!
//! This version of itertools requires Rust 1.36 or later.
//! This version of itertools requires Rust 1.43.1 or later.
#![doc(html_root_url = "https://docs.rs/itertools/0.11/")]

#[cfg(not(feature = "use_std"))]
Expand Down