Reformatted CI config file. #701
Merged
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.
Changes
Explicit trigger configuration: Changed from
on: [push, pull_request]to explicit branch targeting. This prevents unnecessary CI runs on every push to feature branches while still testing all PRs, saving CI minutes.Updated
actions/checkoutto v6: The v3 version is outdated and v6 includes performance improvements and security fixes.Added job display name: Matrix jobs now show "PHP 8.3, Drupal 11" instead of generic "tests" in the GitHub UI, making it easier to identify failed builds at a glance.
Descriptive step names: Renamed steps like
cloneanddrush pmu page_cacheto "Checkout code" and "Disable caching modules". This improves readability in GitHub's workflow visualization and logs.Consolidated related commands: Grouped Drush configuration commands into single steps to reduce visual noise and better represent logical units of work.
Removed obsolete code: Cleaned up Drupal 9 conditionals (no longer in the matrix), unnecessary
catcommands, and redundantcomposer self-updatestep.Consistent formatting: Added spacing between sections and standardized quote style for better maintainability.