diff --git a/.github/dependabot.yml b/.github/dependabot.yml
deleted file mode 100644
index 83b274cc..00000000
--- a/.github/dependabot.yml
+++ /dev/null
@@ -1,18 +0,0 @@
-version: 2
-updates:
- - package-ecosystem: "nuget"
- directory: "/"
- schedule:
- interval: "daily"
- commit-message:
- prefix: "(maint)"
- target-branch: "develop"
- ignore:
- - dependency-name: "Cake.Core"
- - package-ecosystem: "github-actions"
- directory: "/"
- schedule:
- interval: "daily"
- commit-message:
- prefix: "(maint)"
- target-branch: "develop"
\ No newline at end of file
diff --git a/.github/renovate.json b/.github/renovate.json
new file mode 100644
index 00000000..392c3ce5
--- /dev/null
+++ b/.github/renovate.json
@@ -0,0 +1,10 @@
+{
+ "$schema": "https://docs.renovatebot.com/renovate-schema.json",
+ "extends": [ "github>nils-a/renovate-config" ],
+ "packageRules": [
+ {
+ "matchPackageNames": ["cake.tool", "Cake.Core"],
+ "enabled": false
+ }
+ ]
+}
\ No newline at end of file
diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml
index 87170dba..ac6a84df 100644
--- a/.github/workflows/codeql-analysis.yml
+++ b/.github/workflows/codeql-analysis.yml
@@ -13,6 +13,7 @@ on:
branches: [develop]
schedule:
- cron: '0 15 * * 6'
+ workflow_dispatch:
jobs:
analyze:
@@ -57,6 +58,18 @@ jobs:
target: DotNetCore-Build
cake-version: 0.38.5
cake-bootstrap: true
+ env:
+ COMPlus_DbgEnableMiniDump: 1
+ COMPlus_DbgMiniDumpType: 1
+ COMPlus_DbgMiniDumpName: BuildArtifacts/coredump.dmp
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v1
+
+ - name: Upload CoreDump
+ uses: actions/upload-artifact@v2
+ if: failure()
+ with:
+ if-no-files-found: warn
+ name: CoreDump
+ path: BuildArtifacts/coredump.dmp
\ No newline at end of file
diff --git a/.github/workflows/dependabot-cake.yml b/.github/workflows/dependabot-cake.yml
deleted file mode 100644
index f34a9670..00000000
--- a/.github/workflows/dependabot-cake.yml
+++ /dev/null
@@ -1,13 +0,0 @@
-name: Run dependabot for cake
-on:
- workflow_dispatch:
- schedule:
- # run everyday at 6
- - cron: '0 6 * * *'
-
-jobs:
- dependabot-cake:
- runs-on: ubuntu-latest # linux, because this is a docker-action
- steps:
- - name: check/update cake dependencies
- uses: nils-org/dependabot-cake-action@v1
\ No newline at end of file
diff --git a/demo/frosting/build/Build.csproj b/demo/frosting/build/Build.csproj
index b626894d..99cf44ad 100644
--- a/demo/frosting/build/Build.csproj
+++ b/demo/frosting/build/Build.csproj
@@ -5,7 +5,7 @@
$(MSBuildProjectDirectory)..
-
+
diff --git a/src/.idea/.idea.Cake.7zip/.idea/indexLayout.xml b/src/.idea/.idea.Cake.7zip/.idea/indexLayout.xml
index 27ba142e..7b08163c 100644
--- a/src/.idea/.idea.Cake.7zip/.idea/indexLayout.xml
+++ b/src/.idea/.idea.Cake.7zip/.idea/indexLayout.xml
@@ -1,6 +1,6 @@
-
+
diff --git a/src/.idea/.idea.Cake.7zip/.idea/riderModule.iml b/src/.idea/.idea.Cake.7zip/.idea/riderModule.iml
deleted file mode 100644
index dc88bc17..00000000
--- a/src/.idea/.idea.Cake.7zip/.idea/riderModule.iml
+++ /dev/null
@@ -1,18 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/src/Cake.7zip.Tests/Cake.7zip.Tests.csproj b/src/Cake.7zip.Tests/Cake.7zip.Tests.csproj
index a771c64b..f6a36e95 100644
--- a/src/Cake.7zip.Tests/Cake.7zip.Tests.csproj
+++ b/src/Cake.7zip.Tests/Cake.7zip.Tests.csproj
@@ -11,23 +11,22 @@
-
-
+
+
runtime; build; native; contentfiles; analyzers; buildtransitive
all
-
-
-
+
+ all
+ runtime; build; native; contentfiles; analyzers; buildtransitive
+
+
runtime; build; native; contentfiles; analyzers; buildtransitive
all
-
- all
- runtime; build; native; contentfiles; analyzers; buildtransitive
-
+
@@ -39,4 +38,4 @@
-
\ No newline at end of file
+
diff --git a/src/Cake.7zip.Tests/Commands/AbstractOutputCommandTests.cs b/src/Cake.7zip.Tests/Commands/AbstractOutputCommandTests.cs
index 58290b6f..0ec899fb 100644
--- a/src/Cake.7zip.Tests/Commands/AbstractOutputCommandTests.cs
+++ b/src/Cake.7zip.Tests/Commands/AbstractOutputCommandTests.cs
@@ -1,10 +1,10 @@
using Cake.SevenZip.Commands;
using Cake.SevenZip.Parsers;
-using FluentAssertions;
-
using Moq;
+using Shouldly;
+
using Xunit;
namespace Cake.SevenZip.Tests.Commands
@@ -24,7 +24,7 @@ public void AbstractOutputCommand_sets_raw_output()
((ICanParseOutput)partialMock).SetRawOutput(expected);
- actual.Should().BeEquivalentTo(expected);
+ actual.ShouldBeEquivalentTo(expected);
}
[Fact]
@@ -39,7 +39,7 @@ public void AbstractOutputCommand_sets_nothing_when_called_with_null()
((ICanParseOutput)partialMock).SetRawOutput(null);
- actual.Should().BeNull();
+ actual.ShouldBeNull();
}
[Fact]
@@ -56,7 +56,7 @@ public void AbstractOutputCommand_uses_parser_to_set_non_raw_output()
((ICanParseOutput)partialMock).SetRawOutput(new string[] { });
- actual.Should().Be(expected.Object);
+ actual.ShouldBe(expected.Object);
}
}
}
diff --git a/src/Cake.7zip.Tests/Commands/BenchmarkCommandTests.cs b/src/Cake.7zip.Tests/Commands/BenchmarkCommandTests.cs
index d44dd620..cd3e098d 100644
--- a/src/Cake.7zip.Tests/Commands/BenchmarkCommandTests.cs
+++ b/src/Cake.7zip.Tests/Commands/BenchmarkCommandTests.cs
@@ -5,7 +5,7 @@
using Cake.SevenZip.Commands;
using Cake.SevenZip.Parsers;
-using FluentAssertions;
+using Shouldly;
using Xunit;
@@ -19,8 +19,8 @@ public void OutputCommand_uses_its_own_parser(BaseOutputCommand command, T
where T : IOutput
{
var actual = command.OutputParser;
- actual.Should().NotBeNull();
- actual.Should().BeOfType(expectedParserType);
+ actual.ShouldNotBeNull();
+ actual.ShouldBeOfType(expectedParserType);
}
private class TestData : IEnumerable