Skip to content

Main

Main #43

Workflow file for this run

name: Main
on:
push:
branches:
- master
pull_request:
branches:
- master
schedule:
- cron: '0 0 * * 0'
jobs:
build:
runs-on: ${{ matrix.image }}
strategy:
matrix:
image:
- macos-12
- ubuntu-22.04
- windows-2022
env:
NUGET_PACKAGES: ${{ github.workspace }}/.github/nuget-packages
steps:
- uses: actions/checkout@v2
- name: NuGet Cache
uses: actions/cache@v2
with:
path: ${{ env.NUGET_PACKAGES }}
key: ${{ runner.os }}.nuget.${{ hashFiles('**/*.csproj') }}
- name: Set up .NET SDK
uses: actions/setup-dotnet@v1
with:
dotnet-version: '7.0.x'
- name: Build
run: dotnet build --configuration Release
- name: Test
run: dotnet test --configuration Release