Skip to content

Backports full integral type support to legacy frameworks via source generation #64

Backports full integral type support to legacy frameworks via source generation

Backports full integral type support to legacy frameworks via source generation #64

Workflow file for this run

name: Run Tests
on:
pull_request:
branches:
- main
workflow_dispatch:
jobs:
test:
runs-on: windows-latest # NOTE: Has to be Windows because the old .NET Framework 4.x (which is one of the target frameworks of the test project) is Windows-only
steps:
- name: Checkout the repository
uses: actions/checkout@v4
- name: Setup .NET
uses: actions/setup-dotnet@v4
with:
dotnet-version: |
8.0.x
7.0.x
6.0.x
- name: Restore dependencies
run: dotnet restore
- name: Build
run: dotnet build --no-restore --configuration Release
# TODO: Some .NET codebases with GitHub Actions workflows seem to run `dotnet restore`, `dotnet build` and `dotnet test` as separate steps. Why?
- name: Test
run: dotnet test --no-build --verbosity normal --configuration Release