Skip to content

Commit 4a22202

Browse files
Bump the test-dependencies group across 1 directory with 2 updates (#107)
* Bump the test-dependencies group across 1 directory with 2 updates Bumps the test-dependencies group with 2 updates in the / directory: [FluentAssertions](https://github.com/fluentassertions/fluentassertions) and [Microsoft.NET.Test.Sdk](https://github.com/microsoft/vstest). Updates `FluentAssertions` from 6.12.2 to 7.0.0 - [Release notes](https://github.com/fluentassertions/fluentassertions/releases) - [Changelog](https://github.com/fluentassertions/fluentassertions/blob/develop/AcceptApiChanges.ps1) - [Commits](fluentassertions/fluentassertions@6.12.2...7.0.0) Updates `Microsoft.NET.Test.Sdk` from 17.11.1 to 17.12.0 - [Release notes](https://github.com/microsoft/vstest/releases) - [Changelog](https://github.com/microsoft/vstest/blob/main/docs/releases.md) - [Commits](microsoft/vstest@v17.11.1...v17.12.0) --- updated-dependencies: - dependency-name: FluentAssertions dependency-type: direct:production update-type: version-update:semver-major dependency-group: test-dependencies - dependency-name: Microsoft.NET.Test.Sdk dependency-type: direct:production update-type: version-update:semver-minor dependency-group: test-dependencies ... Signed-off-by: dependabot[bot] <[email protected]> * Output .NET SDK version during build * Improve output for SDK version * Pin to .NET 8 * Audit transititive dependencies * Ensure that GitVersion updates are applied in the build group * Allow dependabot to update transititive dependencies * Fix vulnerabilities * Code quality fix IDE0300 --------- Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: elzik <[email protected]>
1 parent a5965d6 commit 4a22202

File tree

16 files changed

+35
-9
lines changed

16 files changed

+35
-9
lines changed

.github/dependabot.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ updates:
1414
- "AutoFixture*"
1515
- "coverlet*"
1616
- "FluentAssertions*"
17+
- "GitVersion*"
1718
- "Microsoft.NET.Test*"
1819
- "NSubstitute*"
1920
- "Polly.Testing*"
@@ -29,4 +30,7 @@ updates:
2930
- "xunit*"
3031
build-dependencies:
3132
patterns:
32-
- "GitVersion*"
33+
- "GitVersion*"
34+
allow:
35+
- dependency-type: "all"
36+

.github/workflows/continuous-delivery.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ jobs:
6161
- name: Setup .NET
6262
uses: actions/setup-dotnet@v4
6363
with:
64-
dotnet-version: 8.0.x
64+
dotnet-version: 8.x.x
6565
- name: Build & Test
6666
run: ./Build/build-and-test.ps1
6767
shell: pwsh

Build/build-and-test.ps1

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,9 @@ $repoRootPath = (Resolve-Path "$PSScriptRoot/../").Path
44

55
Import-Module $(Resolve-Path "$repoRootPath/Build/Test-ExitCode.psm1")
66

7+
$sdkVersionUsed = (dotnet --version)
8+
Write-Output "SDK Version Used: $sdkVersionUsed"
9+
710
dotnet test $repoRootPath/Elzik.FmSync.sln `
811
-c Release `
912
--verbosity normal `
@@ -14,7 +17,7 @@ Test-ExitCode
1417

1518
dotnet tool update `
1619
--global dotnet-reportgenerator-globaltool `
17-
--version 5.1.8
20+
--version 5.*
1821
Test-ExitCode
1922

2023
reportgenerator `

Elzik.FmSync.sln

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Elzik.FmSync.Application.Te
2121
EndProject
2222
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution Items", "{6839B032-FEC5-4978-A064-BD18FB683118}"
2323
ProjectSection(SolutionItems) = preProject
24+
global.json = global.json
2425
README.md = README.md
2526
EndProjectSection
2627
EndProject

Installer/Elzik.FmSync.WindowsInstaller/Elzik.FmSync.WindowsInstaller.wixproj

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
<UpdateAssemblyInfo>false</UpdateAssemblyInfo>
44
<GenerateGitVersionInformation>false</GenerateGitVersionInformation>
55
<GitVersionTargetFramework>net8.0</GitVersionTargetFramework>
6+
<NuGetAuditMode>all</NuGetAuditMode>
67
</PropertyGroup>
78
<ItemGroup>
89
<None Include="LICENSE.rtf" />

global.json

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"sdk": {
3+
"version": "8.0.100",
4+
"rollForward": "latestMinor"
5+
}
6+
}

src/Elzik.FmSync.Application/Elzik.FmSync.Application.csproj

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
<TargetFramework>net8.0</TargetFramework>
55
<ImplicitUsings>enable</ImplicitUsings>
66
<Nullable>enable</Nullable>
7+
<NuGetAuditMode>all</NuGetAuditMode>
78
</PropertyGroup>
89

910
<PropertyGroup Condition="'$(Configuration)'!='Debug'">

src/Elzik.FmSync.Console/Elzik.FmSync.Console.csproj

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
<Nullable>enable</Nullable>
88
<RootNamespace>Elzik.FmSync</RootNamespace>
99
<AssemblyName>fmsync</AssemblyName>
10+
<NuGetAuditMode>all</NuGetAuditMode>
1011
</PropertyGroup>
1112

1213
<PropertyGroup Condition="'$(Configuration)'!='Debug'">

src/Elzik.FmSync.Domain/Elzik.FmSync.Domain.csproj

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
<TargetFramework>net8.0</TargetFramework>
55
<ImplicitUsings>enable</ImplicitUsings>
66
<Nullable>enable</Nullable>
7+
<NuGetAuditMode>all</NuGetAuditMode>
78
</PropertyGroup>
89

910
<PropertyGroup Condition="'$(Configuration)'!='Debug'">

src/Elzik.FmSync.Infrastructure/Elzik.FmSync.Infrastructure.csproj

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
<TargetFramework>net8.0</TargetFramework>
55
<ImplicitUsings>enable</ImplicitUsings>
66
<Nullable>enable</Nullable>
7+
<NuGetAuditMode>all</NuGetAuditMode>
78
</PropertyGroup>
89

910
<PropertyGroup Condition="'$(Configuration)'!='Debug'">

0 commit comments

Comments
 (0)