Skip to content

Commit e21b3a3

Browse files
chore(deps): update all dependencies (#262)
Co-authored-by: David De Sloovere <352626+DavidDeSloovere@users.noreply.github.com>
1 parent bfea5b8 commit e21b3a3

File tree

8 files changed

+62
-30
lines changed

8 files changed

+62
-30
lines changed

.github/workflows/ci.yml

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,14 +19,14 @@ jobs:
1919

2020
steps:
2121
- name: ☁ Checkout
22-
uses: actions/checkout@v3
22+
uses: actions/checkout@v6
2323
with:
2424
fetch-depth: 0
2525

2626
- name: 👷 .NET SDK
27-
uses: actions/setup-dotnet@v1
27+
uses: actions/setup-dotnet@v5
2828
with:
29-
dotnet-version: "6.0"
29+
dotnet-version: "10.x"
3030

3131
- name: ⬇ Install dependencies
3232
run: dotnet restore
@@ -41,7 +41,13 @@ jobs:
4141
run: dotnet pack ./src/FluentEmail.Graph/FluentEmail.Graph.csproj -c Release -o ./artifacts --no-build
4242

4343
- name: 🔑 Add GitHub packages to nuget sources
44-
run: dotnet nuget add source --username USERNAME --password ${{ secrets.GITHUB_TOKEN }} --store-password-in-clear-text --name github "https://nuget.pkg.github.com/ESC-BV/index.json"
44+
run: |
45+
dotnet nuget add source \
46+
--username ${{ github.actor }} \
47+
--password ${{ secrets.GITHUB_TOKEN }} \
48+
--store-password-in-clear-text \
49+
--name github \
50+
"https://nuget.pkg.github.com/${{ github.repository_owner }}/index.json"
4551
4652
- name: 🚀 Publish to GitHub packages
4753
run: dotnet nuget push "./artifacts/*.nupkg" --source "github" --api-key ${{ secrets.GITHUB_TOKEN }}

.github/workflows/publish.yml

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,14 +16,14 @@ jobs:
1616

1717
steps:
1818
- name: ☁ Checkout
19-
uses: actions/checkout@v3
19+
uses: actions/checkout@v6
2020
with:
2121
fetch-depth: 0
2222

2323
- name: 👷 .NET SDK
24-
uses: actions/setup-dotnet@v1
24+
uses: actions/setup-dotnet@v5
2525
with:
26-
dotnet-version: "6.0"
26+
dotnet-version: "10.x"
2727

2828
- name: ⬇ Install dependencies
2929
run: dotnet restore
@@ -38,7 +38,13 @@ jobs:
3838
run: dotnet pack ./src/FluentEmail.Graph/FluentEmail.Graph.csproj -c Release -o ./artifacts --no-build
3939

4040
- name: 🔑 Add GitHub packages to nuget sources
41-
run: dotnet nuget add source --username USERNAME --password ${{ secrets.GITHUB_TOKEN }} --store-password-in-clear-text --name github "https://nuget.pkg.github.com/ESC-BV/index.json"
41+
run: |
42+
dotnet nuget add source \
43+
--username ${{ github.actor }} \
44+
--password ${{ secrets.GITHUB_TOKEN }} \
45+
--store-password-in-clear-text \
46+
--name github \
47+
"https://nuget.pkg.github.com/${{ github.repository_owner }}/index.json"
4248
4349
- name: 🚀 Push package to Github and NuGet
4450
run: |

FluentEmail.Graph.sln

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,18 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "sample", "sample", "{A4341B
2020
EndProject
2121
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SendMailTestApp", "sample\SendMailTestApp\SendMailTestApp.csproj", "{24093217-E352-4B06-9138-C0641657F49D}"
2222
EndProject
23+
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = ".github", ".github", "{9A006E2F-010E-4680-9954-0BA348EE681C}"
24+
ProjectSection(SolutionItems) = preProject
25+
.github\dependabot.yml = .github\dependabot.yml
26+
EndProjectSection
27+
EndProject
28+
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "workflows", "workflows", "{09828C36-2EAB-4015-970F-24D5E61AAD7A}"
29+
ProjectSection(SolutionItems) = preProject
30+
.github\workflows\ci.yml = .github\workflows\ci.yml
31+
.github\workflows\codeql-analysis.yml = .github\workflows\codeql-analysis.yml
32+
.github\workflows\publish.yml = .github\workflows\publish.yml
33+
EndProjectSection
34+
EndProject
2335
Global
2436
GlobalSection(SolutionConfigurationPlatforms) = preSolution
2537
Debug|Any CPU = Debug|Any CPU
@@ -74,6 +86,8 @@ Global
7486
{110F6221-F88C-44D8-B9E3-B3D1B9691DFD} = {D1C8192B-F35B-4433-9E5F-05F9E92DA58F}
7587
{B01998E7-3FE2-4A66-968A-0B7725309129} = {779D4366-494E-4582-ACDA-38D55AEC2EE5}
7688
{24093217-E352-4B06-9138-C0641657F49D} = {A4341B5B-E943-490B-94AE-D4637A7AF37C}
89+
{9A006E2F-010E-4680-9954-0BA348EE681C} = {E37EFC29-B838-4EC7-8DDD-48303FE8FD52}
90+
{09828C36-2EAB-4015-970F-24D5E61AAD7A} = {9A006E2F-010E-4680-9954-0BA348EE681C}
7791
EndGlobalSection
7892
GlobalSection(ExtensibilityGlobals) = postSolution
7993
SolutionGuid = {F11BF11A-54C0-49CA-B567-850A4C6AC40A}

global.json

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

sample/SendMailTestApp/SendMailTestApp.csproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
<PropertyGroup>
44
<OutputType>Exe</OutputType>
5-
<TargetFramework>net6.0</TargetFramework>
5+
<TargetFramework>net10.0</TargetFramework>
66
<ImplicitUsings>enable</ImplicitUsings>
77
<Nullable>enable</Nullable>
88
<UserSecretsId>4eba8463-a290-440f-b079-62d74334211a</UserSecretsId>
@@ -14,7 +14,7 @@
1414
</ItemGroup>
1515

1616
<ItemGroup>
17-
<PackageReference Include="Microsoft.Extensions.Hosting" Version="8.0.0" />
17+
<PackageReference Include="Microsoft.Extensions.Hosting" Version="10.0.2" />
1818
</ItemGroup>
1919

2020
<ItemGroup>

src/FluentEmail.Graph/FluentEmail.Graph.csproj

Lines changed: 8 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,9 @@
2020
<Version>0.0.1</Version>
2121
<PackageLicenseExpression>MIT</PackageLicenseExpression>
2222
<MinVerVerbosity>detailed</MinVerVerbosity>
23-
<MinVerMinimumMajorMinor>2.4</MinVerMinimumMajorMinor>
24-
<PackageReleaseNotes>v2.4 Updated Microsoft.Graph to v5
23+
<MinVerMinimumMajorMinor>3.0</MinVerMinimumMajorMinor>
24+
<PackageReleaseNotes>v3.0 Updated all dependencies and upgraded test projects to .NET 10
25+
v2.4 Updated Microsoft.Graph to v5
2526
v2.2 Added support for Headers
2627
v2.1 Added support for Inline images
2728
</PackageReleaseNotes>
@@ -40,21 +41,17 @@ v2.1 Added support for Inline images
4041
</ItemGroup>
4142

4243
<ItemGroup>
43-
<PackageReference Include="Azure.Identity" Version="1.10.4" />
44-
<PackageReference Include="DotNet.ReproducibleBuilds" Version="1.1.1">
44+
<PackageReference Include="Azure.Identity" Version="1.17.1" />
45+
<PackageReference Include="DotNet.ReproducibleBuilds" Version="2.0.2">
4546
<PrivateAssets>all</PrivateAssets>
4647
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
4748
</PackageReference>
4849
<PackageReference Include="FluentEmail.Core" Version="3.0.2" />
49-
<PackageReference Include="JetBrains.Annotations" Version="2023.3.0">
50+
<PackageReference Include="JetBrains.Annotations" Version="2025.2.4">
5051
<PrivateAssets>all</PrivateAssets>
5152
</PackageReference>
52-
<PackageReference Include="Microsoft.Graph" Version="5.40.0" />
53-
<PackageReference Include="Microsoft.SourceLink.GitHub" Version="8.0.0">
54-
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
55-
<PrivateAssets>all</PrivateAssets>
56-
</PackageReference>
57-
<PackageReference Include="MinVer" Version="4.3.0">
53+
<PackageReference Include="Microsoft.Graph" Version="5.101.0" />
54+
<PackageReference Include="MinVer" Version="7.0.0">
5855
<PrivateAssets>all</PrivateAssets>
5956
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
6057
</PackageReference>

tests/FluentEmail.Graph.Tests/FluentEmail.Graph.Tests.csproj

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,26 +1,29 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22

33
<PropertyGroup>
4-
<TargetFramework>net6.0</TargetFramework>
4+
<TargetFramework>net10.0</TargetFramework>
55
<IsPackable>false</IsPackable>
66
<EnableNETAnalyzers>true</EnableNETAnalyzers>
77
<EnforceCodeStyleInBuild>true</EnforceCodeStyleInBuild>
88
<LangVersion>latestmajor</LangVersion>
9+
<OutputType>Exe</OutputType>
910
</PropertyGroup>
1011

1112
<ItemGroup>
12-
<PackageReference Include="FluentAssertions" Version="6.12.0" />
13-
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.8.0" />
14-
<PackageReference Include="MSTest.TestAdapter" Version="3.1.1" />
15-
<PackageReference Include="MSTest.TestFramework" Version="3.2.0" />
16-
<PackageReference Include="coverlet.collector" Version="6.0.0">
13+
<PackageReference Include="AwesomeAssertions" Version="9.3.0" />
14+
<PackageReference Include="coverlet.collector" Version="6.0.4">
1715
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
1816
<PrivateAssets>all</PrivateAssets>
1917
</PackageReference>
2018
<PackageReference Include="StyleCop.Analyzers" Version="1.1.118">
2119
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
2220
<PrivateAssets>all</PrivateAssets>
2321
</PackageReference>
22+
<PackageReference Include="xunit.runner.visualstudio" Version="3.1.5">
23+
<PrivateAssets>all</PrivateAssets>
24+
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
25+
</PackageReference>
26+
<PackageReference Include="xunit.v3" Version="3.2.2" />
2427
</ItemGroup>
2528

2629
<ItemGroup>

tests/FluentEmail.Graph.Tests/UnitTest1.cs

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,10 @@
11
namespace FluentEmail.Graph.Tests;
22

3-
using Microsoft.VisualStudio.TestTools.UnitTesting;
3+
using Xunit;
44

5-
[TestClass]
65
public class UnitTest1
76
{
8-
[TestMethod]
7+
[Fact]
98
public void TestMethod1()
109
{
1110
// no tests yet, bit hard because you need actual appid, tenantid and secret for integration test

0 commit comments

Comments
 (0)