Skip to content

Bump Microsoft.NET.Test.Sdk from 17.11.0 to 17.12.0 #111

Bump Microsoft.NET.Test.Sdk from 17.11.0 to 17.12.0

Bump Microsoft.NET.Test.Sdk from 17.11.0 to 17.12.0 #111

Workflow file for this run

name: Build and Test
on:
pull_request:
branches:
- main
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0 # Git Versioning requires a non-shallow clone
- name: Setup .NET
uses: actions/setup-dotnet@v4
- name: Restore
run: dotnet restore
- name: Build
run: dotnet build --configuration Release --no-restore
- name: Test
run: dotnet test --configuration Release --no-build --logger trx --results-directory TestResults --collect:"XPlat Code Coverage"
- name: Upload test results
uses: actions/upload-artifact@v4
with:
name: test-results
path: ./TestResults
if: ${{ always() }} # Always run this step even on failure