Skip to content

🧪 Pin TeX Live image in PDF CI workflow - #1254

Open
jseiden12 wants to merge 1 commit into
executablebooks:masterfrom
jseiden12:ci/pin-texlive-pdf-image
Open

jseiden12 wants to merge 1 commit into
executablebooks:masterfrom
jseiden12:ci/pin-texlive-pdf-image

Conversation

@jseiden12

Copy link
Copy Markdown

Fixes #1156
Supersedes #803

Summary

Pins the TeX Live container image used by the doc-builds-pdf job in .github/workflows/test-formats.yml so upstream floating TeX Live updates do not unexpectedly break PDF CI builds.

What changed and why

  • Upgraded xu-cheng/latex-action from @v2 to @v3 (carrying forward dependabot ⬆️ Bump xu-cheng/latex-action from 2 to 3 #803): v2 hardcodes the floating texlive-full:latest image and does not support pinning.
  • Pinned docker_image: ghcr.io/xu-cheng/texlive-full:20261001: Using texlive_version in v3 does not currently pin TeX Live 2025/2026 ("2025" maps to :latest in action.sh, and "2026" is unsupported). The dated 20261001 tag resolves on GHCR to sha256:c06416ebbc69c8e90e07d1f1a6f7a3f9b334e773daa3543ce879ea533317c3a7, matching the exact TeX Live 2026 image used in the passing November 26 master PDF build.
  • Moved XINDYOPTS export into pre_compile: latex-action@v3 only forwards a fixed set of environment variables into its container, so exporting XINDYOPTS in pre_compile preserves the existing xindy configuration before latexmk runs.
  • Added an annual review comment above docker_image to verify the PDF build before future bumps.
  • Left CHANGELOG.md unchanged since this is a CI-only workflow update (matching prior workflow PRs like ⬆️ Bump actions/setup-python from 6 to 7 #1226).

Verification

  • Verified GHCR manifest digest for ghcr.io/xu-cheng/texlive-full:20261001 matches the passing baseline PDF CI job.
  • Ran actionlint, PyYAML parsing, bash -n, a stubbed latex-action@v3 launcher/entrypoint smoke test confirming docker_image, working_directory, root_file, and XINDYOPTS, and pre-commit run --all-files.
  • Hosted doc-builds-pdf workflow will validate the live container build on this PR.

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.

Pin the TeX Live version in the PDF docs CI job

1 participant