Repository navigation
feat: auto-resolve latest version, modern log grouping, improved UX - #1
Merged
Merged
Conversation
- Resolve `version: latest` to actual release tag via GitHub API before caching, fixing stale cache keys that never invalidated - Add `::group::`/`::endgroup::` log grouping across all actions for clean collapsible output in the Actions UI - Add `::notice::` and `::error::` annotations for key events - Write structured job summaries (markdown tables) in plan, run, and validate actions - Validate action: check file existence before running, surface errors with file-level annotations, output valid=false on failure - Run action: capture exit code and report proper failure status instead of always reporting success - Setup action: verify binary is actually callable after install, fail fast with clear error if not - CI: add real integration tests (install latest, install pinned, validate pass, validate missing file) on ubuntu and macOS
GITHUB_PATH updates don't take effect within the same composite action step set. Use the resolved install dir path directly.
orun binary may use different subcommands for version reporting. Try both `version` and `--version`, extract semver pattern, fall back to the resolved tag from the GitHub API.
Unauthenticated GitHub API calls hit rate limits on shared runners. Use the workflow's GITHUB_TOKEN for the releases/latest lookup.
orun requires components to have a type field.
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
version: latest(the default), the action now resolves the actual release tag via GitHub API before computing the cache key. Previously the cache key wasorun-Linux-X64-latestwhich never invalidated.::group::/::endgroup::for clean collapsible output in the Actions UI. Key events are surfaced as::notice::annotations, failures as::error::with file-level targeting.valid=false(not just a hard failure), surfaces errors with file annotations.status=successregardless.Test plan
test-setuppasses on ubuntu-latest and macos-latest (installs latest orun)test-setup-pinnedinstalls specific version v1.12.6test-validatevalidates a well-formed intent filetest-validate-missing-filecorrectly rejects a non-existent file