Skip to content

Commit

Permalink
Merge pull request #104 from moka-rs/min-dep-versions
Browse files Browse the repository at this point in the history
Raise the minimum depending version of skeptic to v0.13.5
  • Loading branch information
tatsuya6502 authored Mar 21, 2022
2 parents 9af3024 + 5c56801 commit 9a140e7
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 9 deletions.
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

0 comments on commit 9a140e7

Please sign in to comment.