chore: update supports-color requirement from 2.0.0 to 3.0.0 #7
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: CI | |
on: | |
push: | |
branches: ["*"] # ignore pushes that are only tags | |
pull_request: | |
env: | |
CARGO_TERM_COLOR: always | |
jobs: | |
ci: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Clone repository | |
uses: actions/checkout@v4 | |
- name: Install rust | |
id: install_rust | |
uses: dtolnay/rust-toolchain@stable | |
- name: Fetch cache | |
uses: Swatinem/rust-cache@v2 | |
- name: Clippy | |
if: always() && steps.install_rust.outcome == 'success' | |
run: cargo clippy --all-targets --all-features -- -D warnings | |
- name: Fmt | |
if: always() && steps.install_rust.outcome == 'success' | |
run: cargo fmt -- --check | |
- name: Check docs | |
if: always() && steps.install_rust.outcome == 'success' | |
run: cargo doc --all-features --no-deps |