diff --git a/.config/dotnet-tools.json b/.config/dotnet-tools.json index 727dfd7..4903ba5 100644 --- a/.config/dotnet-tools.json +++ b/.config/dotnet-tools.json @@ -3,7 +3,7 @@ "isRoot": true, "tools": { "cake.tool": { - "version": "0.38.5", + "version": "1.3.0", "commands": [ "dotnet-cake" ] diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 50d7cdd..7323cbf 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -49,8 +49,7 @@ jobs: script-path: recipe.cake target: CI verbosity: Diagnostic - cake-version: 0.38.5 - cake-bootstrap: true + cake-version: tool-manifest # currently, Cake.Recipe does not upload artifacts when run on gh-actions - name: Upload Issues diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml index a7cf390..77c438a 100644 --- a/.github/workflows/codeql-analysis.yml +++ b/.github/workflows/codeql-analysis.yml @@ -49,8 +49,7 @@ jobs: with: script-path: recipe.cake target: DotNetCore-Build - cake-version: 0.38.5 - cake-bootstrap: true + cake-version: tool-manifest - name: Perform CodeQL Analysis uses: github/codeql-action/analyze@v2 diff --git a/recipe.cake b/recipe.cake index a6d8577..edf4da2 100644 --- a/recipe.cake +++ b/recipe.cake @@ -1,4 +1,4 @@ -#load nuget:?package=Cake.Recipe&version=2.2.1 +#load nuget:?package=Cake.Recipe&version=3.1.1 Environment.SetVariableNames(); @@ -10,7 +10,6 @@ BuildParameters.SetParameters(context: Context, repositoryName: "Cake.ExtendedNuGet", appVeyorAccountName: "cakecontrib", shouldRunDotNetCorePack: true, - shouldRunDupFinder: false, shouldRunInspectCode: false, shouldRunIntegrationTests: false, testFilePattern: "DO_NOT_RUN_TESTS"); @@ -18,8 +17,6 @@ BuildParameters.SetParameters(context: Context, BuildParameters.PrintParameters(Context); ToolSettings.SetToolSettings(context: Context, - dupFinderExcludePattern: new string[] { - BuildParameters.RootDirectoryPath + "/Cake.ExtendedNuGet.Tests/*.cs" }, testCoverageFilter: "+[*]* -[xunit.*]* -[Cake.Core]* -[Cake.Testing]* -[*.Tests]* -[FakeItEasy]*", testCoverageExcludeByAttribute: "*.ExcludeFromCodeCoverage*", testCoverageExcludeByFile: "*/*Designer.cs;*/*.g.cs;*/*.g.i.cs");