light_bitmap 0.1.0

A minimal, fixed-size bitmap library written in pure Rust.
Documentation
name: CI

on:
  push:
    branches: [main]
  pull_request:
    branches: [main]

jobs:
  build-and-test:
    runs-on: ubuntu-latest

    steps:
      - name: ๐Ÿ“ฅ Checkout code
        uses: actions/checkout@v4

      - name: ๐Ÿฆ€ Set up Rust
        uses: dtolnay/rust-toolchain@stable

      - name: ๐Ÿ“ฆ Install dependencies
        run: |
          cargo fetch
          cargo install cargo-rdme

      - name: ๐ŸŽจ Check formatting
        run: cargo fmt --check

      - name: ๐Ÿ” Run cargo check
        run: cargo check --all-targets --all-features

      - name: ๐Ÿงน Run clippy
        run: cargo clippy --all-targets --all-features -- -D warnings --allow clippy::precedence

      - name: ๐Ÿ“„ Check that README.md is up to date
        run: cargo rdme --check

      - name: โœ… Run tests
        run: cargo test --all-targets --all-features

      - name: โœ… Ensure no_std without alloc
        run: |
          rustup target add thumbv6m-none-eabi
          cargo check --target thumbv6m-none-eabi --no-default-features