Remove matrix strategy to fix version-suffixed check names#8
Merged
Merged
Conversation
…ck names Co-authored-by: seesharprun <5067401+seesharprun@users.noreply.github.com>
seesharprun
approved these changes
Mar 18, 2026
Copilot created this pull request from a session on behalf of
seesharprun
March 18, 2026 18:43
View session
Contributor
There was a problem hiding this comment.
Pull request overview
This PR simplifies the sample validation GitHub Actions workflow by removing version matrices and pinning each language validation job to a single, explicit runtime version.
Changes:
- Removed
strategy.matrixblocks for Python, Node.js, Java, .NET, and Go validation jobs. - Hardcoded runtime versions directly in each corresponding
setup-*action configuration.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
| uses: actions/setup-go@v6 | ||
| with: | ||
| go-version: ${{ matrix.version }} | ||
| go-version: '1.23.0' |
8 tasks
seesharprun
added a commit
that referenced
this pull request
Mar 18, 2026
…t folder (#7) - [x] Add `.editorconfig` via `dotnet new editorconfig` - [x] Replace `.gitignore` using `dotnet new gitignore` - [x] Add `Directory.Packages.props` with floating major versions - [x] Add `Directory.Build.props` with shared `UserSecretsId` - [x] Simplify `Program.cs`: remove version pins and `UserSecretsId` - [x] Remove comments from `Directory.Build.props` and `Directory.Packages.props` - [x] Resolve merge conflict with main: rename `Program.cs` → `connect.cs`, add `Newtonsoft.Json@13.*` to packages - [x] Sync with main (#8): remove matrix strategy and hardcode versions in `validate.yml` <!-- START COPILOT CODING AGENT TIPS --> --- 💬 Send tasks to Copilot coding agent from [Slack](https://gh.io/cca-slack-docs) and [Teams](https://gh.io/cca-teams-docs) to turn conversations into code. Copilot posts an update in your thread when it's finished. --------- Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: seesharprun <5067401+seesharprun@users.noreply.github.com> Co-authored-by: seesharprun <sidandrews@microsoft.com>
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
Fixes the workflow so version numbers are no longer appended to check names (e.g.,
Validate .NET Samples (10.0)→Validate .NET Samples).GitHub Actions automatically appends matrix values to a job's display name when a
matrixstrategy is used. Since each job only had a single version in its matrix, the matrix strategy wasn't providing any real benefit — it only caused the fragile version-suffixed check names.Changes
matrixstrategy block from all five validate jobs: Python, JavaScript/TypeScript, Java, .NET, and Gowith:block (values unchanged)