Skip to content

fix: check stdin instead of stderr for TTY detection #304

fix: check stdin instead of stderr for TTY detection

fix: check stdin instead of stderr for TTY detection #304

Workflow file for this run

on:
push:
branches: [main]
pull_request:
branches: [main]
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
test:
runs-on: ${{ matrix.platform }}
strategy:
matrix:
platform: [ubuntu-latest, macos-latest, windows-latest]
steps:
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5
- uses: Swatinem/rust-cache@98c8021b550208e191a6a3145459bfc9fb29c4c0 # v2
- run: cargo clippy -- -D warnings
- run: cargo fmt -- --check
- run: cargo test --lib --tests