Skip to content

Build and Test

Build and Test #1252

Triggered via schedule December 1, 2025 06:07
Status Success
Total duration 2m 52s
Artifacts

build-and-test.yml

on: schedule
automerge
5s
automerge
Matrix: build-and-test
Fit to window
Zoom out
Zoom in

Annotations

1 error and 30 warnings
automerge
This action must be used in the context of a Pull Request or with a Pull Request number
build-and-test on macOS-latest: src/Chapter03.Tests/Listing03.24.Tests.cs#L9
Use 'Assert.ThrowsExactly' instead of 'Assert.ThrowsException' (https://learn.microsoft.com/dotnet/core/testing/mstest-analyzers/mstest0039)
build-and-test on macOS-latest: src/Chapter03.Tests/Table03.03.Tests.cs#L39
Prefer 'Assert.ThrowsExactly/ThrowsExactlyAsync' over '[ExpectedException]' (https://learn.microsoft.com/dotnet/core/testing/mstest-analyzers/mstest0006)
build-and-test on macOS-latest: src/Chapter03.Tests/Table03.03.Tests.cs#L31
Prefer 'Assert.ThrowsExactly/ThrowsExactlyAsync' over '[ExpectedException]' (https://learn.microsoft.com/dotnet/core/testing/mstest-analyzers/mstest0006)
build-and-test on macOS-latest: src/Chapter03.Tests/Table03.03.Tests.cs#L23
Prefer 'Assert.ThrowsExactly/ThrowsExactlyAsync' over '[ExpectedException]' (https://learn.microsoft.com/dotnet/core/testing/mstest-analyzers/mstest0006)
build-and-test on macOS-latest: src/Chapter04/Table04.04.CheckForNull.cs#L58
The given expression is always of the provided ('object') type
build-and-test on macOS-latest: src/Chapter04/TicTacToe.cs#L113
#warning: '"Same move allowed multiple times."'
build-and-test on macOS-latest: src/Chapter04/Listing04.59.WarningDirective.cs#L8
#warning: '"Same move allowed multiple times."'
build-and-test on macOS-latest: src/Chapter02.Tests/Listing02.28.Tests.cs#L9
Prefer 'Assert.ThrowsExactly/ThrowsExactlyAsync' over '[ExpectedException]' (https://learn.microsoft.com/dotnet/core/testing/mstest-analyzers/mstest0006)
build-and-test on ubuntu-latest: src/Chapter06.Tests/Listing06.20.ProvidingPropertyValidation.Tests.cs#L18
Prefer 'Assert.ThrowsExactly/ThrowsExactlyAsync' over '[ExpectedException]' (https://learn.microsoft.com/dotnet/core/testing/mstest-analyzers/mstest0006)
build-and-test on ubuntu-latest: src/Chapter06.Tests/Listing06.20.ProvidingPropertyValidation.Tests.cs#L9
Prefer 'Assert.ThrowsExactly/ThrowsExactlyAsync' over '[ExpectedException]' (https://learn.microsoft.com/dotnet/core/testing/mstest-analyzers/mstest0006)
build-and-test on ubuntu-latest: src/Chapter06.Tests/Listing06.59.Tests.cs#L14
Use 'Assert.ThrowsExactly' instead of 'Assert.ThrowsException' (https://learn.microsoft.com/dotnet/core/testing/mstest-analyzers/mstest0039)
build-and-test on ubuntu-latest: src/Chapter07/Listing07.12.OverrideVersusNewModifier.cs#L20
'Program.DerivedClass.DisplayName()' hides inherited member 'Program.BaseClass.DisplayName()'. Use the new keyword if hiding was intended.
build-and-test on ubuntu-latest: src/Chapter04/Table04.04.CheckForNull.cs#L58
The given expression is always of the provided ('object') type
build-and-test on ubuntu-latest: src/Chapter04/TicTacToe.cs#L113
#warning: '"Same move allowed multiple times."'
build-and-test on ubuntu-latest: src/Chapter04/Listing04.59.WarningDirective.cs#L8
#warning: '"Same move allowed multiple times."'
build-and-test on windows-latest: src/Chapter04/Table04.04.CheckForNull.cs#L58
The given expression is always of the provided ('object') type
build-and-test on windows-latest: src/Chapter04/Table04.04.CheckForNull.cs#L58
The given expression is always of the provided ('object') type
build-and-test on windows-latest: src/Chapter04/TicTacToe.cs#L113
#warning: '"Same move allowed multiple times."'
build-and-test on windows-latest: src/Chapter04/Listing04.59.WarningDirective.cs#L8
#warning: '"Same move allowed multiple times."'
build-and-test on windows-latest: src/Chapter04/TicTacToe.cs#L113
#warning: '"Same move allowed multiple times."'
build-and-test on windows-latest: src/Chapter04/Listing04.59.WarningDirective.cs#L8
#warning: '"Same move allowed multiple times."'