Skip to content

Commit 86e4e5b

Browse files
committed
ci .NET 10
1 parent 051b4bf commit 86e4e5b

6 files changed

Lines changed: 31 additions & 11 deletions

File tree

.github/workflows/ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,9 @@ jobs:
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.0"
3030

3131
- name: ⬇ Install dependencies
3232
run: dotnet restore

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+
}

tests/FluentEmail.Graph.Tests/Assembly.cs

Lines changed: 0 additions & 3 deletions
This file was deleted.

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

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,7 @@
99
</PropertyGroup>
1010

1111
<ItemGroup>
12-
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="18.0.1" />
13-
<PackageReference Include="MSTest.TestAdapter" Version="4.0.2" />
14-
<PackageReference Include="MSTest.TestFramework" Version="4.0.2" />
12+
<PackageReference Include="AwesomeAssertions" Version="9.3.0" />
1513
<PackageReference Include="coverlet.collector" Version="6.0.4">
1614
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
1715
<PrivateAssets>all</PrivateAssets>
@@ -20,6 +18,11 @@
2018
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
2119
<PrivateAssets>all</PrivateAssets>
2220
</PackageReference>
21+
<PackageReference Include="xunit.runner.visualstudio" Version="3.1.5">
22+
<PrivateAssets>all</PrivateAssets>
23+
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
24+
</PackageReference>
25+
<PackageReference Include="xunit.v3" Version="3.2.2" />
2326
</ItemGroup>
2427

2528
<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)