* Directory.Packages.props should mandate used versions * Add NuGet audit mode setting to show any problems during restore * System.Text.Json should be 8.0.4 which is patched against security vulnerabilities * Fix build GH Actions generation Co-authored-by: Sipke Schoorstra <sipkeschoorstra@outlook.com>
14 lines
408 B
C#
14 lines
408 B
C#
using Nuke.Common.CI.GitHubActions;
|
|
using Nuke.Components;
|
|
|
|
[GitHubActions(
|
|
"pr",
|
|
GitHubActionsImage.UbuntuLatest,
|
|
OnPullRequestBranches = ["main"],
|
|
OnPullRequestIncludePaths = ["**/*"],
|
|
PublishArtifacts = false,
|
|
InvokedTargets = [nameof(ICompile.Compile), nameof(ITest.Test), nameof(IPack.Pack)],
|
|
CacheKeyFiles = []
|
|
)
|
|
]
|
|
public partial class Build; |