Skip to content

feat: add ANSI colours #116

feat: add ANSI colours

feat: add ANSI colours #116

Workflow file for this run

name: build
on:
workflow_dispatch:
push:
paths:
- "src/**"
- "Cargo.toml"
pull_request:
paths:
- "src/**"
- "Cargo.toml"
jobs:
compile:
runs-on: ubuntu-22.04
env:
RUST_BACKTRACE: 1
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@master
with:
toolchain: stable
- uses: Swatinem/rust-cache@v2
- run: cargo build --all-features --verbose
- run: cargo test --all-features --verbose
rustfmt:
name: rustfmt
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@master
with:
toolchain: stable
components: rustfmt
- run: cargo fmt --all --check