Skip to content

Replace atty with is_terminal from std lib #15

Replace atty with is_terminal from std lib

Replace atty with is_terminal from std lib #15

Workflow file for this run

name: CI
on:
push:
branches: ["master"]
tags: ["[0-9]+.[0-9]+.[0-9]+"]
pull_request:
branches: ["master"]
workflow_dispatch:
jobs:
ci:
strategy:
matrix:
rust: [stable, 1.70.0]
os: [ubuntu-latest]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v3
- uses: dtolnay/rust-toolchain@v1
with:
toolchain: ${{ matrix.rust }}
components: rustfmt
- run: cargo fmt -- --check
- run: cargo build
- run: cargo test