Skip to content

6.1.1 (#8)

6.1.1 (#8) #21

Workflow file for this run

name: CI
on:
push:
branches:
- master
pull_request:
branches:
- master
jobs:
build:
env:
BUILD_CONFIG: 'Release'
SOLUTION: 'Solution/Modules.sln'
runs-on: windows-latest
steps:
- name: Checkout
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Install .NET Core
uses: actions/setup-dotnet@v3
with:
dotnet-version: 5.0.x
- name: Setup MSBuild.exe
uses: microsoft/setup-msbuild@v1.0.2
# - name: Setup NuGet
# uses: NuGet/setup-nuget@v1.0.5
- name: Restore dependencies
run: nuget restore $env:SOLUTION
- name: Build
run: dotnet build $env:SOLUTION --configuration $env:BUILD_CONFIG --no-restore
- name: Run tests
run: dotnet test $env:SOLUTION /p:Configuration=$env:BUILD_CONFIG --no-restore --no-build --verbosity normal