Skip to content

Modernize to .NET 9 and add GitHub Actions CI #3

Modernize to .NET 9 and add GitHub Actions CI

Modernize to .NET 9 and add GitHub Actions CI #3

Workflow file for this run

name: CI
on:
push:
branches: [ master, main ]
pull_request:
branches: [ master, main ]
permissions:
contents: read
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Setup .NET
uses: actions/setup-dotnet@v4
with:
dotnet-version: '9.0.x'
- name: Restore dependencies
run: dotnet restore
working-directory: ./Types
- name: Build
run: dotnet build --no-restore
working-directory: ./Types
- name: Test
run: dotnet test --no-build --verbosity normal
working-directory: ./Types