Skip to content

Commit

Permalink
fix(deps): bump minimum supports-color version (#182)
Browse files Browse the repository at this point in the history
also set things up so that we don't get caught off-guard in the future by incompatible minimum versions.
  • Loading branch information
palfrey authored Jun 26, 2022
1 parent b3d6ede commit ccf1b8a
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 1 deletion.
18 changes: 18 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,3 +45,21 @@ jobs:
- name: Run tests
run: cargo test --all --verbose --features fancy

minimal_versions:
name: Minimal versions check
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, macOS-latest, windows-latest]

steps:
- uses: actions/checkout@v1
- name: Install Rust
uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: nightly
override: true
- name: Run minimal version build
run: cargo build -Z minimal-versions --all-features

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ owo-colors = { version = "3.0.0", optional = true }
atty = { version = "0.2.14", optional = true }
textwrap = { version = "0.15.0", optional = true }
supports-hyperlinks = { version = "1.1.0", optional = true }
supports-color = { version = "1.0.4", optional = true }
supports-color = { version = "1.1.1", optional = true }
supports-unicode = { version = "1.0.0", optional = true }
backtrace = { version = "0.3.61", optional = true }
terminal_size = { version = "0.1.17", optional = true }
Expand Down

0 comments on commit ccf1b8a

Please sign in to comment.