Skip to content

Commit

Permalink
Merge pull request #482 from microsoft/merge-main-to-preview
Browse files Browse the repository at this point in the history
Merge GitHub workflow addition to preview
  • Loading branch information
amerjusupovic authored Jul 25, 2024
2 parents d069049 + 2ae7e61 commit 84d86c6
Show file tree
Hide file tree
Showing 3 changed files with 53 additions and 300 deletions.
53 changes: 53 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
name: FeatureManagement-Dotnet CI

on:
push:
branches:
- main
- preview
- release/*
pull_request:
branches:
- main
- preview
- release/*

permissions:
security-events: write

jobs:
build:
runs-on: windows-latest

steps:
- name: Checkout code
uses: actions/checkout@v2

- name: Install .NET
run: pwsh build/install-dotnet.ps1 -RestoreOnly

- name: Restore
run: pwsh build.ps1 -RestoreOnly

- name: Initialize CodeQL
uses: github/codeql-action/init@v3
with:
languages: 'csharp'

- name: Dotnet Build
run: pwsh build.ps1

- name: Dotnet Pack
run: pwsh pack.ps1

- name: Dotnet Test
run: pwsh test.ps1

- name: Publish Test Results
uses: actions/upload-artifact@v4
with:
name: Unit Test Results
path: ${{ github.workspace }}/tests/**/*.trx

- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v3
175 changes: 0 additions & 175 deletions .pipelines/OneBranch.Official.yml

This file was deleted.

125 changes: 0 additions & 125 deletions .pipelines/windows-buddy.yml

This file was deleted.

0 comments on commit 84d86c6

Please sign in to comment.