Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump the minimum depending version of skeptic to v0.13.5 #104

Merged
merged 2 commits into from
Mar 21, 2022
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
17 changes: 9 additions & 8 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,10 @@ jobs:
strategy:
matrix:
rust:
- nightly
- stable
- beta
- 1.51.0 # MSRV (for both no features and "future")
- 1.51.0 # MSRV
- nightly # For checking minimum version dependencies.

steps:
- name: Checkout Moka
Expand All @@ -45,6 +45,13 @@ jobs:
with:
command: clean

- name: Downgrade dependencies to minimal versions
uses: actions-rs/cargo@v1
if: ${{ matrix.rust == 'nightly' }}
with:
command: update
args: -Z minimal-versions

- name: Build (no features)
uses: actions-rs/cargo@v1
with:
Expand All @@ -58,18 +65,12 @@ jobs:

- name: Run tests (future feature)
uses: actions-rs/cargo@v1
if: ${{ matrix.rust != '1.45.2' }}
with:
command: test
args: --features future

- name: Run tests (dash feature)
uses: actions-rs/cargo@v1
if: ${{ matrix.rust != '1.45.2' }}
with:
command: test
args: --features dash

- name: Check minimal versions
if: ${{ matrix.rust == 'nightly' }}
run: cargo clean; cargo update -Z minimal-versions; cargo check
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ tokio = { version = "1.16", features = ["rt-multi-thread", "macros", "sync", "ti
trybuild = "1.0"

[target.'cfg(skeptic)'.build-dependencies]
skeptic = "0.13"
skeptic = "0.13.5"

# https://docs.rs/about/metadata
[package.metadata.docs.rs]
Expand Down