Skip to content

Commit d57d802

Browse files
committed
add .net 8 support
1 parent e3475b1 commit d57d802

File tree

18 files changed

+65
-59
lines changed

18 files changed

+65
-59
lines changed

.github/workflows/dotnet.yml

Lines changed: 6 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ name: Build
33
env:
44
DOTNET_NOLOGO: true
55
DOTNET_SKIP_FIRST_TIME_EXPERIENCE: true
6+
DOTNET_ENVIRONMENT: github
67
ASPNETCORE_ENVIRONMENT: github
78
BUILD_PATH: '${{github.workspace}}/artifacts'
89
COVERALLS_REPO_TOKEN: ${{ secrets.COVERALLS_REPO_TOKEN }}
@@ -41,12 +42,12 @@ jobs:
4142
with:
4243
fetch-depth: 0
4344

44-
- name: Install .NET Core
45+
- name: Install .NET
4546
uses: actions/setup-dotnet@v3
4647
with:
4748
dotnet-version: |
4849
6.0.x
49-
7.0.x
50+
8.0.x
5051
5152
- name: Restore Dependencies
5253
run: dotnet restore
@@ -55,21 +56,14 @@ jobs:
5556
run: dotnet build --no-restore --configuration Release
5657

5758
- name: Run Test
58-
run: dotnet test --configuration Release --collect:"XPlat Code Coverage" --settings coverlet.runsettings
59-
60-
- name: Generate Coverage
61-
uses: danielpalme/[email protected]
62-
with:
63-
reports: '${{github.workspace}}/test/*/TestResults/*/coverage.info'
64-
targetdir: ${{env.BUILD_PATH}}
65-
reporttypes: lcov
59+
run: dotnet test --no-build --configuration Release --collect:"XPlat Code Coverage" --settings coverlet.runsettings
6660

6761
- name: Report Coverage
6862
if: success()
6963
uses: coverallsapp/github-action@v2
7064
with:
71-
file: artifacts/lcov.info
72-
format: lcov
65+
file: "${{github.workspace}}/test/*/TestResults/*/coverage.info"
66+
format: lcov
7367

7468
- name: Create Packages
7569
if: success() && github.event_name != 'pull_request'

sample/Tracker/Tracker.Core/Data/Entities/Priority.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ public Priority()
108108
/// Gets or sets the navigation collection for entity <see cref="Task" />.
109109
/// </summary>
110110
/// <value>
111-
/// The the navigation collection for entity <see cref="Task" />.
111+
/// The navigation collection for entity <see cref="Task" />.
112112
/// </value>
113113
public virtual ICollection<Task> Tasks { get; set; }
114114

sample/Tracker/Tracker.Core/Data/Entities/Role.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ public Role()
9191
/// Gets or sets the navigation collection for entity <see cref="UserRole" />.
9292
/// </summary>
9393
/// <value>
94-
/// The the navigation collection for entity <see cref="UserRole" />.
94+
/// The navigation collection for entity <see cref="UserRole" />.
9595
/// </value>
9696
public virtual ICollection<UserRole> UserRoles { get; set; }
9797

sample/Tracker/Tracker.Core/Data/Entities/Status.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ public Status()
107107
/// Gets or sets the navigation collection for entity <see cref="Task" />.
108108
/// </summary>
109109
/// <value>
110-
/// The the navigation collection for entity <see cref="Task" />.
110+
/// The navigation collection for entity <see cref="Task" />.
111111
/// </value>
112112
public virtual ICollection<Task> Tasks { get; set; }
113113

sample/Tracker/Tracker.Core/Data/Entities/Task.cs

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ public Task()
146146
/// Gets or sets the navigation property for entity <see cref="User" />.
147147
/// </summary>
148148
/// <value>
149-
/// The the navigation property for entity <see cref="User" />.
149+
/// The navigation property for entity <see cref="User" />.
150150
/// </value>
151151
/// <seealso cref="AssignedId" />
152152
public virtual User? AssignedUser { get; set; }
@@ -155,7 +155,7 @@ public Task()
155155
/// Gets or sets the navigation property for entity <see cref="Priority" />.
156156
/// </summary>
157157
/// <value>
158-
/// The the navigation property for entity <see cref="Priority" />.
158+
/// The navigation property for entity <see cref="Priority" />.
159159
/// </value>
160160
/// <seealso cref="PriorityId" />
161161
public virtual Priority? Priority { get; set; }
@@ -164,7 +164,7 @@ public Task()
164164
/// Gets or sets the navigation property for entity <see cref="Status" />.
165165
/// </summary>
166166
/// <value>
167-
/// The the navigation property for entity <see cref="Status" />.
167+
/// The navigation property for entity <see cref="Status" />.
168168
/// </value>
169169
/// <seealso cref="StatusId" />
170170
public virtual Status Status { get; set; } = null!;
@@ -173,7 +173,7 @@ public Task()
173173
/// Gets or sets the navigation property for entity <see cref="TaskExtended" />.
174174
/// </summary>
175175
/// <value>
176-
/// The the navigation property for entity <see cref="TaskExtended" />.
176+
/// The navigation property for entity <see cref="TaskExtended" />.
177177
/// </value>
178178
/// <seealso cref="Id" />
179179
public virtual TaskExtended TaskExtended { get; set; } = null!;
@@ -182,7 +182,7 @@ public Task()
182182
/// Gets or sets the navigation property for entity <see cref="Tenant" />.
183183
/// </summary>
184184
/// <value>
185-
/// The the navigation property for entity <see cref="Tenant" />.
185+
/// The navigation property for entity <see cref="Tenant" />.
186186
/// </value>
187187
/// <seealso cref="TenantId" />
188188
public virtual Tenant Tenant { get; set; } = null!;

sample/Tracker/Tracker.Core/Data/Entities/TaskExtended.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ public TaskExtended()
9898
/// Gets or sets the navigation property for entity <see cref="Task" />.
9999
/// </summary>
100100
/// <value>
101-
/// The the navigation property for entity <see cref="Task" />.
101+
/// The navigation property for entity <see cref="Task" />.
102102
/// </value>
103103
/// <seealso cref="TaskId" />
104104
public virtual Task Task { get; set; } = null!;

sample/Tracker/Tracker.Core/Data/Entities/Tenant.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ public Tenant()
9999
/// Gets or sets the navigation collection for entity <see cref="Task" />.
100100
/// </summary>
101101
/// <value>
102-
/// The the navigation collection for entity <see cref="Task" />.
102+
/// The navigation collection for entity <see cref="Task" />.
103103
/// </value>
104104
public virtual ICollection<Task> Tasks { get; set; }
105105

sample/Tracker/Tracker.Core/Data/Entities/User.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -165,23 +165,23 @@ public User()
165165
/// Gets or sets the navigation collection for entity <see cref="Task" />.
166166
/// </summary>
167167
/// <value>
168-
/// The the navigation collection for entity <see cref="Task" />.
168+
/// The navigation collection for entity <see cref="Task" />.
169169
/// </value>
170170
public virtual ICollection<Task> AssignedTasks { get; set; }
171171

172172
/// <summary>
173173
/// Gets or sets the navigation collection for entity <see cref="UserLogin" />.
174174
/// </summary>
175175
/// <value>
176-
/// The the navigation collection for entity <see cref="UserLogin" />.
176+
/// The navigation collection for entity <see cref="UserLogin" />.
177177
/// </value>
178178
public virtual ICollection<UserLogin> UserLogins { get; set; }
179179

180180
/// <summary>
181181
/// Gets or sets the navigation collection for entity <see cref="UserRole" />.
182182
/// </summary>
183183
/// <value>
184-
/// The the navigation collection for entity <see cref="UserRole" />.
184+
/// The navigation collection for entity <see cref="UserRole" />.
185185
/// </value>
186186
public virtual ICollection<UserRole> UserRoles { get; set; }
187187

sample/Tracker/Tracker.Core/Data/Entities/UserLogin.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,7 @@ public UserLogin()
162162
/// Gets or sets the navigation property for entity <see cref="User" />.
163163
/// </summary>
164164
/// <value>
165-
/// The the navigation property for entity <see cref="User" />.
165+
/// The navigation property for entity <see cref="User" />.
166166
/// </value>
167167
/// <seealso cref="UserId" />
168168
public virtual User? User { get; set; }

sample/Tracker/Tracker.Core/Data/Entities/UserRole.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ public UserRole()
4141
/// Gets or sets the navigation property for entity <see cref="Role" />.
4242
/// </summary>
4343
/// <value>
44-
/// The the navigation property for entity <see cref="Role" />.
44+
/// The navigation property for entity <see cref="Role" />.
4545
/// </value>
4646
/// <seealso cref="RoleId" />
4747
public virtual Role Role { get; set; } = null!;
@@ -50,7 +50,7 @@ public UserRole()
5050
/// Gets or sets the navigation property for entity <see cref="User" />.
5151
/// </summary>
5252
/// <value>
53-
/// The the navigation property for entity <see cref="User" />.
53+
/// The navigation property for entity <see cref="User" />.
5454
/// </value>
5555
/// <seealso cref="UserId" />
5656
public virtual User User { get; set; } = null!;

0 commit comments

Comments
 (0)