lilt 0.8.1

A simple library for running interruptable, transition based animations as a function of time.
Documentation
name: rust

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

env:
  CARGO_TERM_COLOR: always

concurrency:
  group: ${{ github.workflow }}-${{ github.ref }}
  cancel-in-progress: true

jobs:
  build:
    name: build & test 🧪
    runs-on: ubuntu-latest

    steps:
      - uses: actions/checkout@v4
      - name: Build
        run: cargo build --verbose
      - name: Run tests
        run: cargo test --verbose
      - name: Build examples
        run: |
          set -euxo pipefail
          for d in examples/*/ ; do
            echo "Building example in directory $d"
            (cd "$d" && CARGO_TARGET_DIR=../target cargo build --verbose)
          done

  clippy:
    name: clippy 🪢
    runs-on: ubuntu-latest

    steps:
      - uses: actions/checkout@v4
      - name: Run clippy
        run: cargo clippy -- --deny warnings