tsify 0.5.8

Tsify is a library for generating TypeScript definitions from rust code.
Documentation
name: Build and Test

on:
    push:
        branches: [main, next]
    pull_request:
        branches: ["*"]

# Build and test only — and dependency build scripts run arbitrary code here.
permissions:
    contents: read

jobs:
    build:
        name: Build
        runs-on: ubuntu-latest

        steps:
            - name: Checkout sources
              uses: actions/checkout@v6
              with:
                  persist-credentials: false

            - name: Install toolchain
              run: rustup toolchain install stable --profile minimal --override

            - name: Check
              run: cargo check

            - name: Build
              run: cargo build
    test:
        name: Test
        runs-on: ubuntu-latest

        steps:
            - name: Checkout sources
              uses: actions/checkout@v6
              with:
                  persist-credentials: false

            # This job compares the expansion snapshots that the nightly
            # workflow regenerates, so both must use the same cargo-expand.
            - name: Setup test environment
              uses: ./.github/actions/setup-test-env

            - name: Test
              run: ./test.sh
    lint:
        name: Lint
        runs-on: ubuntu-latest

        steps:
            - name: Checkout sources
              uses: actions/checkout@v6
              with:
                  persist-credentials: false

            - name: Install toolchain
              run: rustup toolchain install stable --profile minimal --component rustfmt --component clippy --override

            - name: Cargo fmt
              run: cargo fmt --all -- --check

            - name: Cargo clippy
              run: cargo clippy -- -D warnings