Skip to content

Update to .NET 9

Update to .NET 9 #10

Workflow file for this run

name: .NET Build
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
jobs:
build:
runs-on: ubuntu-latest
steps:
# Checkout the repository
- name: Checkout code
uses: actions/checkout@v4
# Setup .NET Core SDK
- name: Setup .NET
uses: actions/setup-dotnet@v4
with:
dotnet-version: 9.0.x
- name: Restore dependencies
run: dotnet restore src/MaybeSharp.sln
- name: Build
run: dotnet build --no-restore src/MaybeSharp.sln
- name: Test
run: dotnet test --no-build src/MaybeSharp.sln -f net9 /p:CollectCoverage=true /p:Include="[MaybeSharp]*"