Skip to content

Add GitHub actions CI #2

Add GitHub actions CI

Add GitHub actions CI #2

Workflow file for this run

name: .NET
on:
push:
branches: [ "master" ]
pull_request:
branches: [ "master" ]
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
steps:
- uses: actions/checkout@v3
- name: Setup .NET
uses: actions/setup-dotnet@v3
with:
dotnet-version: '8.0.x'
- name: Restore nuget dependencies
run: dotnet restore
- name: Build solution
run: dotnet build --no-restore
- name: Run tests
run: dotnet test --no-build --verbosity normal