Add GitHub Actions workflow for .NET project build - #27933
Closed
mshb (mdshafayethossain) wants to merge 2 commits into
Closed
mshb (mdshafayethossain) wants to merge 2 commits into
mshb (mdshafayethossain) wants to merge 2 commits into
Conversation
This workflow builds a .NET project on push and pull request events to the master branch.
mshb (mdshafayethossain)
requested review from
a team and
Justin Chung (jshigetomi)
as code owners
September 1, 2026 14:03
|
Azure Pipelines: There may be pipelines that require an authorized user to comment /azp run to run. |
Copilot started reviewing on behalf of
mshb (mdshafayethossain)
September 1, 2026 14:03
View session
Contributor
There was a problem hiding this comment.
Pull request overview
Adds a GitHub Actions workflow intended to restore, build, and test the repository using the .NET CLI on Ubuntu runners.
Changes:
- Introduces a new
.github/workflows/dotnet.ymlworkflow. - Configures triggers for pushes and pull requests targeting
master. - Runs
dotnet restore,dotnet build, anddotnet testonubuntu-latest.
💡 Add a code-review agent skill for context-aware, tailored reviews. Learn more in the docs.
Comment on lines
+13
to
+28
| build: | ||
|
|
||
| runs-on: ubuntu-latest | ||
|
|
||
| steps: | ||
| - uses: actions/checkout@v4 | ||
| - name: Setup .NET | ||
| uses: actions/setup-dotnet@v4 | ||
| with: | ||
| dotnet-version: 8.0.x | ||
| - name: Restore dependencies | ||
| run: dotnet restore | ||
| - name: Build | ||
| run: dotnet build --no-restore | ||
| - name: Test | ||
| run: dotnet test --no-build --verbosity normal |
Comment on lines
+6
to
+10
| on: | ||
| push: | ||
| branches: [ "master" ] | ||
| pull_request: | ||
| branches: [ "master" ] |
Collaborator
|
Hi this PR doesn't meet the bar for the project & there is already an extensive set of build and release pipelines that cover the needs of this project. As such I am closing this PR |
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.
PR Summary
PR Context
PR Checklist
.h,.cpp,.cs,.ps1and.psm1files have the correct copyright header