Skip to content

Add GitHub Actions workflow for .NET project build - #27933

Closed
mshb (mdshafayethossain) wants to merge 2 commits into
PowerShell:masterfrom
Broadview-Protective-Services:master
Closed

mshb (mdshafayethossain) wants to merge 2 commits into
PowerShell:masterfrom
Broadview-Protective-Services:master

Conversation

@mdshafayethossain

Copy link
Copy Markdown

PR Summary

PR Context

PR Checklist

This workflow builds a .NET project on push and pull request events to the master branch.
Copilot AI lite review requested due to automatic review settings September 1, 2026 14:03
@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines:
There may be pipelines that require an authorized user to comment /azp run to run.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.yml workflow.
  • Configures triggers for pushes and pull requests targeting master.
  • Runs dotnet restore, dotnet build, and dotnet test on ubuntu-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" ]
@kilasuit

Copy link
Copy Markdown
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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants