prettier-bytes 0.2.1

A blazingly fast and safe, zero-allocation, `no_std`-compatible byte formatter.
Documentation
name: CI

on: [push, pull_request]

jobs:
  test:
    name: Tests
    runs-on: ubuntu-latest
    container:
      image: registry.gitlab.com/xangelix-pub/containers/arch:latest
      options: --user root # How I wish this were GitLab

    steps:
      - uses: actions/checkout@v6

      - name: Install Rust
        run: curl https://gitlab.com/xangelix-pub/init/-/raw/main/os/arch/rust.sh | sh

      - name: Select stable Rust toolchain
        run: rustup default stable

      - name: Cache dependencies
        uses: swatinem/rust-cache@v2

      - name: Check formatting
        run: cargo fmt --all -- --check

      - name: Run tests (no default features)
        run: cargo test --no-default-features

      - name: Run tests
        run: cargo test