Skip to content

refactor: default to iteration ordered by ANSI code #103

refactor: default to iteration ordered by ANSI code

refactor: default to iteration ordered by ANSI code #103

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