ci: upgrade action versions, add uv cache, fix broken paths, DRY publish#2052
Merged
Conversation
- Bump actions/checkout v4/v5 → v6, setup-node v4 → v6, setup-java v4 → v5, prek-action v1 → v2, github-script v6 → v7, aws-credentials v4 → v6, claude-code-action v1.0.89 → v1 - Add enable-cache: true to all astral-sh/setup-uv steps - Remove redundant uv venv --seed (uv sync creates venvs automatically) - Merge double uv sync steps in unit-tests into single conditional - Fix codeflash.yaml: broken path filter and working-directory - Consolidate duplicate publish jobs into a single matrix job - Remove generate_release_notes overridden by manual body
uv venv --seed makes pip available in the venv, which the Claude Code action may need.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
enable-cache: trueto allastral-sh/setup-uvsteps across all workflows (~30-60s savings per job)uv venv --seed:uv synccreates venvs automaticallyuv sync+ conditionaluv sync --group testsinto a single step in unit-testscodeflash.yaml: Path filter and working-directory referenced non-existentcode_to_optimize_js_esm/— fixed tocode_to_optimize/js/code_to_optimize_js_esm/publish.yml: Consolidated two near-identical publish jobs into a single matrix job (-30 lines)generate_release_notes: true: Was overridden by the manualbody:anywayFiles changed
ci.yamlclaude.ymlcodeflash-optimize.yamlcodeflash.yamllabel-workflow-changes.ymlpublish.ymlTest plan
codeflash.yamlpath filter matches actual directory structureif:logic correctly gates per-package runs