Modernize CI workflows: update actions, trim steps, speed up jobs#47
Merged
Conversation
- Bump all actions to latest: checkout v7, setup-uv v8.3.2 (SHA-pinned), action-gh-release v3 (SHA-pinned) - Enable uv caching keyed on pyproject.toml (per-Python-version suffix in the test matrix) to avoid re-downloading wheels on every run - Split lint/format into a dedicated Lint job that installs only ruff (a new ruff dependency group), instead of running them six times across the test matrix - Remove unnecessary steps: uv sync in the build job (uv build uses an isolated build env), checkout in the publish job (release/publish only need the downloaded dist artifact), benchmark artifact upload - Add concurrency groups so superseded pushes/PR updates are cancelled (except tag builds) Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_016Mu9vEBwU4fQLi8ZgkgdS2
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.
Roadmap PR 1 (Track A) — port of observ #182.
pyproject.toml, with a per-Python-version suffix in the test matrix, so wheels aren't re-downloaded on every run.ruffdependency group, matching observ's layout), instead of running lint and format six times across the test matrix.uv syncin the build job (uv builduses an isolated build env), checkout in the publish job (release/publish only need the downloaded dist artifact), and the benchmark artifact upload.The benchmark guard itself is untouched here — replacing it with observ's noise-robust interleaved design (observ #181/#187) is roadmap PR 2, stacked on this one.
Verified locally:
uv sync --only-group ruff+uv run --no-sync ruff check+ruff format --checkpass, and both workflow files parse as valid YAML.🤖 Generated with Claude Code
https://claude.ai/code/session_016Mu9vEBwU4fQLi8ZgkgdS2
Generated by Claude Code