cql2 0.5.5

Parse, validate, and convert Common Query Language (CQL2) text and JSON
Documentation
name: Docs

on:
  push:
    tags:
      - "v*"
  workflow_dispatch:

permissions:
  contents: write
  pages: write

jobs:
  docs:
    runs-on: ubuntu-latest
    env:
      GIT_COMMITTER_NAME: ci-bot
      GIT_COMMITTER_EMAIL: ci-bot@example.com
    steps:
      - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
        with:
          fetch-depth: 0 # for git describe
      - name: Install Rust
        uses: dtolnay/rust-toolchain@29eef336d9b2848a0b548edc03f92a220660cdb8 # stable
      - uses: Swatinem/rust-cache@e18b497796c12c097a38f9edb9d0641fb99eee32 # v2
      - name: Install wasm-pack
        run: cargo install wasm-pack
      - name: build wasm
        run: scripts/buildwasm
      - uses: astral-sh/setup-uv@08807647e7069bb48b6ef5acd8ec9567f424441b # v8.1.0
        with:
          enable-cache: true
      - name: Install Python
        run: uv python install # we use uv instead of setup-python so we get python-version resolution between our two packages
      - name: Sync
        run: uv sync && uv sync --no-dev --inexact --directory python
      - name: Deploy
        run: |
          VERSION=$(git describe --tags --match="v*" --abbrev=0)
          uv run mike deploy $VERSION latest --update-aliases --push