File tree 5 files changed +33
-18
lines changed
Remora.Plugins.Abstractions
5 files changed +33
-18
lines changed Original file line number Diff line number Diff line change @@ -15,29 +15,46 @@ jobs:
15
15
16
16
steps :
17
17
- uses : actions/checkout@v4
18
+ with :
19
+ submodules : recursive
20
+
18
21
- uses : actions/setup-dotnet@v4
19
22
with :
20
23
dotnet-version : |
21
- 6.0.x
22
- 7.0.x
23
24
8.0.x
25
+ 9.0.x
24
26
25
27
- name : Build
26
28
run : |
27
29
dotnet restore
28
30
dotnet build -c Release --no-restore
29
31
30
32
- name : Test
31
- run : dotnet test -c Release --no-restore --no-build --verbosity minimal
33
+ run : dotnet test -c Release --no-restore --no-build --verbosity minimal --collect:"XPlat Code Coverage" --results-directory ./coverage
32
34
33
35
- name : Inspect
34
- uses : JetBrains/ReSharper-InspectCode@v0.3
36
+ uses : JetBrains/ReSharper-InspectCode@v0.8
35
37
with :
36
- tool-version : 2023 .3.4
37
- solution : Remora.Plugins .sln
38
+ tool-version : 2024 .3.0
39
+ solution : Remora.Discord .sln
38
40
build : false
39
41
no-build : true
40
- telemetry-optout : true
42
+
43
+ - name : Coverage
44
+
45
+ with :
46
+ filename : coverage/**/coverage.cobertura.xml
47
+ badge : true
48
+ format : markdown
49
+ indicators : true
50
+ output : both
51
+ thresholds : ' 60 80'
52
+
53
+ - uses : actions/upload-artifact@v4
54
+ if : github.event_name == 'pull_request'
55
+ with :
56
+ name : coverage
57
+ path : code-coverage-results.md
41
58
42
59
- name : Package
43
60
if : github.ref == 'refs/heads/main' && github.event_name == 'push'
Original file line number Diff line number Diff line change 5
5
<ItemGroup >
6
6
<PackageVersion Include =" Remora.Extensions.Options.Immutable" Version =" 1.0.8" />
7
7
<PackageVersion Include =" System.Linq.Async" Version =" 6.0.1" />
8
- <PackageVersion Include =" Remora.Results.Analyzers" Version =" 1.0.2 " />
9
- <PackageVersion Include =" Microsoft.Extensions.DependencyInjection.Abstractions" Version =" 8 .0.0 " />
10
- <PackageVersion Include =" Remora.Results" Version =" 7.4.1 " />
8
+ <PackageVersion Include =" Remora.Results.Analyzers" Version =" 1.0.3 " />
9
+ <PackageVersion Include =" Microsoft.Extensions.DependencyInjection.Abstractions" Version =" 9 .0.2 " />
10
+ <PackageVersion Include =" Remora.Results" Version =" 8.0.0 " />
11
11
</ItemGroup >
12
12
</Project >
Original file line number Diff line number Diff line change 1
1
<Project Sdk =" Remora.Sdk" >
2
2
<PropertyGroup >
3
- <VersionPrefix >4 .0.7 </VersionPrefix >
3
+ <VersionPrefix >5 .0.0 </VersionPrefix >
4
4
<Description >
5
5
Abstract representations of a plugin system.
6
6
</Description >
7
7
<PackageReleaseNotes >
8
- Upgrade Remora.Sdk.
9
- Upgrade nuget packages.
8
+ Update target frameworks.
10
9
</PackageReleaseNotes >
11
10
<PackageTags >$(PackageTags);plugin;plugins;dynamic</PackageTags >
12
11
</PropertyGroup >
Original file line number Diff line number Diff line change 1
1
<Project Sdk =" Remora.Sdk" >
2
2
<PropertyGroup >
3
- <VersionPrefix >3 .0.7 </VersionPrefix >
3
+ <VersionPrefix >4 .0.0 </VersionPrefix >
4
4
<Description >
5
5
The default implementation of Remora.Plugins.Abstractions.
6
6
</Description >
7
7
<PackageReleaseNotes >
8
- Update dependencies .
8
+ Update target frameworks .
9
9
</PackageReleaseNotes >
10
10
<PackageTags >$(PackageTags);plugin;plugins;dynamic</PackageTags >
11
11
</PropertyGroup >
17
17
<ItemGroup >
18
18
<PackageReference Include =" Remora.Extensions.Options.Immutable" />
19
19
<PackageReference Include =" System.Linq.Async" />
20
- <PackageReference Update =" Remora.Results.Analyzers" />
21
20
</ItemGroup >
22
21
</Project >
Original file line number Diff line number Diff line change 1
1
{
2
2
"msbuild-sdks" : {
3
- "Remora.Sdk" : " 3 .0.1 " ,
4
- "Remora.Tests.Sdk" : " 3 .0.1 "
3
+ "Remora.Sdk" : " 4 .0.0 " ,
4
+ "Remora.Tests.Sdk" : " 4 .0.0 "
5
5
}
6
6
}
You can’t perform that action at this time.
0 commit comments