mirror of https://github.com/zkat/miette.git
fix(deps): bump minimum supports-color version (#182)
also set things up so that we don't get caught off-guard in the future by incompatible minimum versions.
This commit is contained in:
parent
b3d6edec2a
commit
ccf1b8ade5
|
|
@ -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
|
||||
|
||||
|
|
|
|||
|
|
@ -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 }
|
||||
|
|
|
|||
Loading…
Reference in New Issue