Skip to content

Merge pull request #43 from LeftTwixWand/dependabot/nuget/Microsoft.W… #226

Merge pull request #43 from LeftTwixWand/dependabot/nuget/Microsoft.W…

Merge pull request #43 from LeftTwixWand/dependabot/nuget/Microsoft.W… #226

Workflow file for this run

name: CI
on:
push:
branches:
- master
pull_request:
types: [opened, synchronize, reopened]
env:
BuildConfiguration: Release
jobs:
build:
runs-on: windows-2022
steps:
- name: Checkout
uses: actions/[email protected]
- name: Setup MSBuild
uses: microsoft/[email protected]
with:
msbuild-architecture: x64
- name: Setup .NET Core SDK
uses: actions/[email protected]
with:
dotnet-version: 7.x
- name: Setup NuGet.exe for use with actions
uses: NuGet/[email protected]
- name: Restore Nuget packages
run: nuget restore Inventory.sln
- name: Build
run: msbuild Inventory.sln
-targets:rebuild
-verbosity:normal
-property:Configuration=${{env.BuildConfiguration}}
- name: Run tests
run: dotnet test