Skip to content

Change supported dotnet versions #19

Change supported dotnet versions

Change supported dotnet versions #19

Workflow file for this run

name: tests
on:
push:
branches:
- main
pull_request:
workflow_dispatch:
jobs:
unit-tests:
strategy:
matrix:
os: [ubuntu-22.04, windows-2022, macos-12]
dotnet-verion: [6.0.x, 7.0.x]
include:
- dotnet-verion: 6.0.x
dotnet-target-framework: net6.0
- dotnet-verion: 7.0.x
dotnet-target-framework: net7.0
runs-on: ${{ matrix.os }}
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Setup dotnet
uses: actions/setup-dotnet@v3
with:
dotnet-version: ${{ matrix.dotnet-version }}
- name: Test
run: |
cd src
dotnet test -f ${{ matrix.dotnet-target-framework }}