Skip to content

ci(chore[tmux]): adopt libtmux/setup-tmux - #286

Open
tony wants to merge 1 commit into
masterfrom
ci/adopt-setup-tmux
Open

tony wants to merge 1 commit into
masterfrom
ci/adopt-setup-tmux

Conversation

@tony

@tony tony commented Dec 2, 2026

Copy link
Copy Markdown
Contributor

Closes #285

Summary

  • Replace libtmux/.github/actions/build-tmux steps in .github/workflows/tmux-matrix.yml and .github/workflows/clojure-compatibility.yml with libtmux/setup-tmux@96c8f0d575eae62d1c3419ef919b69ecc43f3cac (v0.1.0), mapping ref: to version:.
  • Pass add-to-path: false explicitly on the tmux-matrix.yml daemon and client steps so custom prefixes stay isolated off PATH, and preserve add-to-path: "true" in clojure-compatibility.yml.
  • Update scripts/build-tmux-matrix to read tarball digests from the pinned libtmux/setup-tmux releases.json manifest instead of the retired tmux-releases.json.
  • Document libtmux/mise-tmux (v0.1.0) for local matrix installs and update the native CI tmux notes in .github/CONTRIBUTING.md.

Verification

  • actionlint .github/workflows/tmux-matrix.yml .github/workflows/clojure-compatibility.yml passed.
  • uv run scripts/ci-check/ci_check.py passed.
  • ruff format --check, ruff check, ty check --error-on-warning, and pytest scripts (156 passed) passed under scripts/.
  • Verified live parsing of releases.json at 96c8f0d575eae62d1c3419ef919b69ecc43f3cac covers all releases in gradle/tmux-lanes.json.

Test plan

  • Run actionlint on modified workflows
  • Run scripts/ci-check/ci_check.py
  • Run ruff, ty, and pytest scripts
  • Confirm CI workflows (tmux-matrix.yml, clojure-compatibility.yml, ci.yml) pass on the PR

why:
The shared libtmux/.github/actions/build-tmux action runs apt-get on every
cache hit, compiles every release from source on misses, and only targets
Linux. libtmux/setup-tmux v0.1.0 uses verified prebuilt archives where
available, keys source caches on OS ABI with per-prefix isolation, and
supports Linux and macOS.

what:
- Replace build-tmux steps in tmux-matrix.yml and clojure-compatibility.yml
  with libtmux/setup-tmux@96c8f0d (v0.1.0),
  mapping ref to version and setting add-to-path: false on isolated
  daemon/client prefixes.
- Point scripts/build-tmux-matrix at the pinned libtmux/setup-tmux
  releases.json manifest and update its tests and README.
- Document libtmux/mise-tmux (v0.1.0) for local matrix installs and update
  the CI tmux section in .github/CONTRIBUTING.md.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Adopt libtmux/setup-tmux in CI and libtmux/mise-tmux locally

1 participant