Skip to content

Smaller crates.io package #6

Smaller crates.io package

Smaller crates.io package #6

Workflow file for this run

name: CI
on: [push, pull_request]
env:
RUSTFLAGS: -D warnings
RUST_BACKTRACE: 1
CARGO_TERM_COLOR: always
jobs:
unit-test:
strategy:
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable
- run: cargo test
rustfmt:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@nightly
with:
components: rustfmt
- run: cargo fmt -- --check