Skip to content

Commit

Permalink
(#154) Bump Cake.Recipe to 3.1.1
Browse files Browse the repository at this point in the history
and the Cake version in CI to 1.3.0
  • Loading branch information
nils-a committed Oct 7, 2023
1 parent 43190ab commit 7aa7818
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 9 deletions.
2 changes: 1 addition & 1 deletion .config/dotnet-tools.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"isRoot": true,
"tools": {
"cake.tool": {
"version": "0.38.5",
"version": "1.3.0",
"commands": [
"dotnet-cake"
]
Expand Down
3 changes: 1 addition & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
3 changes: 1 addition & 2 deletions .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
5 changes: 1 addition & 4 deletions recipe.cake
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#load nuget:?package=Cake.Recipe&version=2.2.1
#load nuget:?package=Cake.Recipe&version=3.1.1

Environment.SetVariableNames();

Expand All @@ -10,16 +10,13 @@ BuildParameters.SetParameters(context: Context,
repositoryName: "Cake.ExtendedNuGet",
appVeyorAccountName: "cakecontrib",
shouldRunDotNetCorePack: true,
shouldRunDupFinder: false,
shouldRunInspectCode: false,
shouldRunIntegrationTests: false,
testFilePattern: "DO_NOT_RUN_TESTS");

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");
Expand Down

0 comments on commit 7aa7818

Please sign in to comment.