chore(ci): modernize github actions (sha-pin, composite, windows-latest)#29
Merged
Conversation
There was a problem hiding this comment.
Pull request overview
Modernizes the repository’s GitHub Actions CI/release automation by replacing floating action references with SHA-pinned versions, consolidating repeated vcpkg setup into a reusable composite action, and updating Windows runners/settings to current defaults.
Changes:
- SHA-pin all referenced third-party actions (replacing
@vN/@latest) and bumpactions/cacheto v6. - Introduce a composite action to standardize CMake/Ninja install + vcpkg cache restore + vcpkg setup across jobs.
- Move Windows jobs from
windows-2022towindows-latest, and align Dependabot commit prefixes/groups for workflow updates.
Reviewed changes
Copilot reviewed 8 out of 8 changed files in this pull request and generated 1 comment.
Show a summary per file
| File | Description |
|---|---|
| .github/workflows/setup.yml | SHA-pin actions/checkout used by the template initialization workflow. |
| .github/workflows/release.yml | Switch to windows-latest, SHA-pin actions, and use the new vcpkg composite action. |
| .github/workflows/pr-title.yml | SHA-pin semantic PR title check action. |
| .github/workflows/nexus-upload.yml | SHA-pin checkout, git-cliff, and Nexus upload actions. |
| .github/workflows/lint.yml | SHA-pin checkout, shell-linter, dprint, and vale actions. |
| .github/workflows/ci.yml | Switch Windows jobs to windows-latest, SHA-pin actions, and reuse vcpkg composite action across jobs. |
| .github/dependabot.yml | Configure Dependabot commit prefix and group GitHub Actions updates. |
| .github/actions/setup-vcpkg/action.yml | New composite action bundling get-cmake, cache restore, and vcpkg setup with a configurable cache key prefix. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
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.
What
Full modernization pass over every GitHub Actions workflow.
# vX.Y.Zcomment, replacing floating@vN,@latest, and bare tags. Resolved against the GitHub API.actions/cachev5 -> v6 (only cross-major bump; ESM-only repackage, no API change)..github/actions/setup-vcpkgbundling get-cmake + cache + run-vcpkg, called by the ci test/build/clang-tidy jobs and the release job. The three pins now live in one place; acache-prefixinput preserves the original per-job cache namespaces (vcpkg-tests-for tests,vcpkg-elsewhere).windows-2022->windows-latest(2022 is being retired).chore(deps)commit prefix (so its PRs pass the semantic-PR-title check) and grouped action bumps into one weekly PR.FORCE_JAVASCRIPT_ACTIONS_TO_NODE24with a comment:ilammy/msvc-dev-cmdandKyleMayes/install-llvm-actionstill declare node20.Verification
actionlintclean except two pre-existing SC2129 style nits (confirmed present at base, out of scope). All floating-pin greps return CLEAN. Live CI/Lint run will exercise the composite onwindows-latest.