Update action versions and fix build-and-test step in update-codeql workflow#158
Merged
data-douser merged 2 commits intomainfrom Mar 23, 2026
Merged
Update action versions and fix build-and-test step in update-codeql workflow#158data-douser merged 2 commits intomainfrom
update-codeql workflow#158data-douser merged 2 commits intomainfrom
Conversation
Updates the commit reference for the `softprops/action-gh-release` action to point to the latest released version. Fixes an outdated "actions/checkout" version reference in an agent skill definition, for consistency.
This commit is an attempt to fix the "build-and-test" step of the update-codeql.yml actions workflow, which has been failing due to missing dev/test dependencies on "ubuntu-latest" actions runner: - New step "Update - Install xvfb and VS Code dependencies" - Installs xvfb (virtual framebuffer) and system libraries VS Code needs (matching the pattern from copilot-setup-steps.yml). - Wrapped npm run build-and-test with xvfb-run -a to provide a virtual display — matching how build-and-test-extension.yml runs integration tests.
Contributor
Dependency Review✅ No vulnerabilities or license issues or OpenSSF Scorecard issues found.Scanned FilesNone |
Contributor
There was a problem hiding this comment.
Pull request overview
This PR updates GitHub Actions workflow dependencies and improves CI reliability for headless test execution, primarily for the update-codeql automation.
Changes:
- Run the
update-codeqlworkflow’sbuild-and-teststep underxvfb-runand install required system libraries beforehand. - Bump
actions/cachefromv4→v5in thesetup-codeql-environmentcomposite action. - Update the skills workflow template to use
actions/checkout@v6.
Reviewed changes
Copilot reviewed 3 out of 3 changed files in this pull request and generated no comments.
| File | Description |
|---|---|
.github/workflows/update-codeql.yml |
Installs Xvfb + required libraries and runs tests under xvfb-run to support headless execution. |
.github/skills/add-mcp-support-for-new-language/workflow-template.yml |
Updates the template to use the newer actions/checkout major version. |
.github/actions/setup-codeql-environment/action.yml |
Updates caching steps to actions/cache@v5 for CodeQL artifacts and language/runtime caches. |
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.
This pull request updates several GitHub Actions workflows to use newer action versions and improves compatibility for build and test steps. The most significant changes are upgrading the
actions/cacheandactions/checkoutactions to their latest major versions, and ensuring the build environment includes necessary dependencies for running tests in a headless environment.Actions version upgrades:
actions/cachefrom version 4 to version 5 in.github/actions/setup-codeql-environment/action.ymlto ensure the latest features and fixes are used. [1] [2] [3] [4]actions/checkoutfrom version 4 to version 6 in.github/skills/add-mcp-support-for-new-language/workflow-template.ymlfor improved reliability and security.Build and test environment improvements:
xvfband related VS Code dependencies to the update workflow, and modified the build and test step to run underxvfb-runfor headless browser support in.github/workflows/update-codeql.yml.