CI Yaml: use anchors to dedupe, and latest actions, add HDF5 2.1.1#481
Open
scivision wants to merge 1 commit into
Open
CI Yaml: use anchors to dedupe, and latest actions, add HDF5 2.1.1#481scivision wants to merge 1 commit into
scivision wants to merge 1 commit into
Conversation
Contributor
scivision
commented
May 12, 2026
- Use Yaml anchors to greatly deduplicate specifications
- use latest GitHub Actions
- add HDF5 2.1.1 as a CMake test case
There was a problem hiding this comment.
Pull request overview
This PR updates the GitHub Actions CI workflows to reduce duplication via YAML anchors, refresh action versions, and expand the Linux CMake test matrix to cover HDF5 2.1.1.
Changes:
- Introduce YAML anchors/aliases to deduplicate repeated
checkoutand HDF5 cache steps across jobs. - Update workflow runner/action versions (e.g., macOS runner label;
actions/checkout,actions/cache). - Add HDF5
2.1.1to the Linux CMake matrix.
Reviewed changes
Copilot reviewed 3 out of 3 changed files in this pull request and generated 2 comments.
| File | Description |
|---|---|
.github/workflows/run_tests_macos.yml |
Switches macOS runner label and adds anchors for checkout/cache reuse across jobs. |
.github/workflows/run_tests_linux.yml |
Adds anchors for checkout/cache reuse, updates cache action version, and expands HDF5 matrix to include 2.1.1. |
.github/workflows/run_tests_docker.yml |
Cleans up YAML formatting and deduplicates checkout step via an anchor. |
💡 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.