Skip to content

Bump xunit.runner.visualstudio from 2.5.8 to 2.8.0 #381

Bump xunit.runner.visualstudio from 2.5.8 to 2.8.0

Bump xunit.runner.visualstudio from 2.5.8 to 2.8.0 #381

Workflow file for this run

name: CI Build
on:
push:
branches:
- master
pull_request:
types: [opened, synchronize, reopened]
env:
BuildConfiguration: Release
jobs:
build:
runs-on: windows-2022
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup MSBuild
uses: microsoft/setup-msbuild@v2
with:
msbuild-architecture: x64
- name: Setup .NET Core SDK
uses: actions/setup-dotnet@v4
with:
dotnet-version: 8.x
- name: Setup NuGet.exe for use with actions
uses: NuGet/setup-nuget@v2
- name: Cache NuGet packages
uses: actions/cache@v4
with:
path: ~/.nuget/packages
key: ${{ runner.os }}-nuget-${{ hashFiles('**/Directory.Packages.props') }}
restore-keys: |
${{ runner.os }}-nuget-
- name: Restore Nuget packages
run: nuget restore Inventory.sln
- name: Build
run: msbuild Inventory.sln
-verbosity:normal
-property:Configuration=${{env.BuildConfiguration}}
- name: Run tests
run: dotnet test