Add values causing an Exception to exception message #75
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Tests | |
on: | |
# Trigger the workflow on push or pull request, | |
# but only for the main branch | |
pull_request: | |
branches: | |
- main | |
push: | |
branches: | |
- main | |
jobs: | |
tests: | |
runs-on: ubuntu-22.04 | |
# ubuntu-latest = ubuntu-24.04 does not include mono (2025-08-01) | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 # Fetch all history for all tags and branches | |
- name: Set Git config for line endings | |
run: git config --global core.autocrlf true | |
- name: Setup .NET | |
uses: actions/setup-dotnet@v4 | |
with: | |
dotnet-version: | | |
8.0.x | |
6.0.x | |
3.1.x | |
- name: Restore dependencies | |
run: dotnet restore | |
- name: Build | |
run: dotnet build --no-restore --configuration Release -p:Nullable=disable -p:nowarn=1591 | |
- name: Test | |
run: dotnet test --no-build --configuration Release --verbosity normal |