SourceList Overloads for MergeChangeSets for Cache ChangeSets #744
Workflow file for this run
This file contains 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
name: Build | |
on: | |
pull_request: | |
branches: [ main ] | |
env: | |
configuration: Release | |
productNamespacePrefix: "DynamicData" | |
jobs: | |
build: | |
runs-on: windows-2022 | |
outputs: | |
nbgv: ${{ steps.nbgv.outputs.SemVer2 }} | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
lfs: true | |
- name: Setup .NET 6/7 | |
uses: actions/setup-dotnet@v3 | |
with: | |
dotnet-version: | | |
6.0.x | |
7.0.x | |
8.0.x | |
- name: NBGV | |
id: nbgv | |
uses: dotnet/nbgv@master | |
with: | |
setAllVars: true | |
- name: NuGet Restore | |
run: dotnet restore DynamicData.sln | |
working-directory: src | |
- name: Build | |
run: dotnet build --no-restore --configuration Release DynamicData.sln | |
working-directory: src | |
- name: Pack | |
run: dotnet pack --no-restore --configuration Release DynamicData.sln | |
working-directory: src | |
- name: Run Unit Tests and Generate Coverage | |
uses: glennawatson/[email protected] | |
with: | |
project-files: '**/*Tests*.csproj' | |
no-build: true | |
exclude-filter: '[${{env.productNamespacePrefix}}.*.Tests.*]*' | |
include-filter: '[${{env.productNamespacePrefix}}*]*' | |
output-format: cobertura | |
configuration: ${{ env.configuration }} | |
- name: Upload Code Coverage | |
uses: codecov/codecov-action@v3 | |
- name: Create NuGet Artifacts | |
uses: actions/upload-artifact@master | |
with: | |
name: nuget | |
path: '**/*.nupkg' |