Skip to content

Added .NET 9 to test matrix (#848) #8

Added .NET 9 to test matrix (#848)

Added .NET 9 to test matrix (#848) #8

Workflow file for this run

name: Build, Test, and Format verification
on:
push:
branches:
- main
pull_request:
jobs:
test:
strategy:
matrix:
os: [windows-latest, ubuntu-latest, macOS-latest]
framework: [net9.0, net8.0]
include:
- os: windows-latest
framework: net462
runs-on: ${{ matrix.os }}
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup .NET
uses: actions/setup-dotnet@v4
with:
dotnet-version: |
9.0.x
8.0.x
- name: Build
run: dotnet build
- name: Test
run: dotnet test -f ${{ matrix.framework }} --no-build --no-restore
test-documentation:
runs-on: windows-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup .NET
uses: actions/setup-dotnet@v4
with:
dotnet-version: |
9.0.x
8.0.x
# used for documentation
- name: Setup Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: '3.2'
bundler-cache: true
- name: Build documentation
run: build\build.cmd --target Documentation
format-verify:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup .NET
uses: actions/setup-dotnet@v4
with:
dotnet-version: 9.0.x
- name: Format
run: dotnet format --verify-no-changes