Build and Test #1325
build-and-test.yml
on: schedule
automerge
5s
Matrix: build-and-test
Annotations
1 error and 33 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
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/cache@v4. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Node.js 20 will be removed from the runner on September 16th, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
|
|
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/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/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 ubuntu-latest
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/cache@v4. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Node.js 20 will be removed from the runner on September 16th, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
|
|
|
|
|
|
build-and-test on ubuntu-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/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 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
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/cache@v4. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Node.js 20 will be removed from the runner on September 16th, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
|
|
|
|
build-and-test on windows-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 windows-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 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/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."'
|