After repointing the working directory in the .NET build / test commands, they are failing due to the following error:
Run dotnet build --configuration Release
Welcome to .NET Core 3.1!
---------------------
SDK Version: 3.1.101
Telemetry
---------
The .NET Core tools collect usage data in order to help us improve your experience. The data is anonymous. It is collected by Microsoft and shared with the community. You can opt-out of telemetry by setting the DOTNET_CLI_TELEMETRY_OPTOUT environment variable to '1' or 'true' using your favorite shell.
Read more about .NET Core CLI Tools telemetry: https://aka.ms/dotnet-cli-telemetry
----------------
Explore documentation: https://aka.ms/dotnet-docs
Report issues and find source on GitHub: https://github.com/dotnet/core
Find out what's new: https://aka.ms/dotnet-whats-new
Learn about the installed HTTPS developer cert: https://aka.ms/aspnet-core-https
Use 'dotnet --help' to see available commands or visit: https://aka.ms/dotnet-cli-docs
Write your first app: https://aka.ms/first-net-core-app
--------------------------------------------------------------------------------------
Microsoft (R) Build Engine version 16.4.0+e901037fe for .NET Core
Copyright (C) Microsoft Corporation. All rights reserved.
Restore completed in 9.29 sec for /home/runner/work/LuhnCheck/LuhnCheck/ValidationCore/LuhnValidationUnitTests/LuhnValidationUnitTests.csproj.
/opt/hostedtoolcache/dncs/3.1.101/x64/sdk/3.1.101/Microsoft.Common.CurrentVersion.targets(1175,5): error MSB3644: The reference assemblies for .NETFramework,Version=v4.6.1 were not found. To resolve this, install the Developer Pack (SDK/Targeting Pack) for this framework version or retarget your application. You can download .NET Framework Developer Packs at https://aka.ms/msbuild/developerpacks [/home/runner/work/LuhnCheck/LuhnCheck/ValidationCore/LuhnLibrary/LuhnLibrary.csproj]
/opt/hostedtoolcache/dncs/3.1.101/x64/sdk/3.1.101/Microsoft.Common.CurrentVersion.targets(1175,5): error MSB3644: The reference assemblies for .NETFramework,Version=v4.6.1 were not found. To resolve this, install the Developer Pack (SDK/Targeting Pack) for this framework version or retarget your application. You can download .NET Framework Developer Packs at https://aka.ms/msbuild/developerpacks [/home/runner/work/LuhnCheck/LuhnCheck/ValidationCore/LuhnCheck/LuhnCheck.csproj]
Build FAILED.
/opt/hostedtoolcache/dncs/3.1.101/x64/sdk/3.1.101/Microsoft.Common.CurrentVersion.targets(1175,5): error MSB3644: The reference assemblies for .NETFramework,Version=v4.6.1 were not found. To resolve this, install the Developer Pack (SDK/Targeting Pack) for this framework version or retarget your application. You can download .NET Framework Developer Packs at https://aka.ms/msbuild/developerpacks [/home/runner/work/LuhnCheck/LuhnCheck/ValidationCore/LuhnLibrary/LuhnLibrary.csproj]
/opt/hostedtoolcache/dncs/3.1.101/x64/sdk/3.1.101/Microsoft.Common.CurrentVersion.targets(1175,5): error MSB3644: The reference assemblies for .NETFramework,Version=v4.6.1 were not found. To resolve this, install the Developer Pack (SDK/Targeting Pack) for this framework version or retarget your application. You can download .NET Framework Developer Packs at https://aka.ms/msbuild/developerpacks [/home/runner/work/LuhnCheck/LuhnCheck/ValidationCore/LuhnCheck/LuhnCheck.csproj]
0 Warning(s)
2 Error(s)
Time Elapsed 00:00:12.78
##[error]Process completed with exit code 1.
This seems to implicate the framework, so this may need to be specified in the setup.