Skip to content

Commit 5f3f47e

Browse files
committed
update packages
1 parent 83aa54c commit 5f3f47e

File tree

10 files changed

+146
-104
lines changed

10 files changed

+146
-104
lines changed

.github/dependabot.yml

Lines changed: 54 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,57 @@
11
version: 2
22
updates:
3-
- package-ecosystem: "github-actions"
4-
directory: "/"
5-
schedule:
6-
interval: daily
7-
time: "01:00"
8-
open-pull-requests-limit: 10
3+
- package-ecosystem: "github-actions"
4+
directory: "/"
5+
schedule:
6+
interval: daily
7+
time: "01:00"
8+
timezone: "America/Chicago"
9+
open-pull-requests-limit: 10
910

10-
- package-ecosystem: nuget
11-
directory: "/"
12-
schedule:
13-
interval: daily
14-
time: "11:00"
15-
open-pull-requests-limit: 10
11+
- package-ecosystem: nuget
12+
directory: "/"
13+
schedule:
14+
interval: daily
15+
time: "02:00"
16+
timezone: "America/Chicago"
17+
open-pull-requests-limit: 10
18+
groups:
19+
Azure:
20+
patterns:
21+
- "Azure.*"
22+
- "Microsoft.Azure.*"
23+
- "Microsoft.Extensions.Azure"
24+
AspNetCoreHealthChecks:
25+
patterns:
26+
- "AspNetCore.HealthChecks.*"
27+
AspNetCore:
28+
patterns:
29+
- "Microsoft.AspNetCore.*"
30+
- "Microsoft.Extensions.Features"
31+
MicrosoftExtensions:
32+
patterns:
33+
- "Microsoft.Extensions.*"
34+
EntityFrameworkCore:
35+
patterns:
36+
- "Microsoft.EntityFrameworkCore.*"
37+
OpenTelemetry:
38+
patterns:
39+
- "OpenTelemetry.*"
40+
Serilog:
41+
patterns:
42+
- "Serilog"
43+
- "Serilog.*"
44+
Hangfire:
45+
patterns:
46+
- "Hangfire"
47+
- "Hangfire.*"
48+
Testcontainers:
49+
patterns:
50+
- "Testcontainers.*"
51+
xUnit:
52+
patterns:
53+
- "xunit"
54+
- "xunit.assert"
55+
- "xunit.core"
56+
- "xunit.extensibility.*"
57+
- "xunit.runner.*"

.github/workflows/docs.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,10 @@ on:
66
- master
77
- develop
88
tags:
9-
- 'v*'
9+
- "v*"
1010
paths:
11-
- 'docs/**'
12-
- 'mkdocs.yml'
11+
- "docs/**"
12+
- "mkdocs.yml"
1313

1414
permissions:
1515
contents: write
@@ -37,7 +37,7 @@ jobs:
3737
uses: actions/upload-pages-artifact@v3
3838
with:
3939
name: github-pages
40-
path: 'site/'
40+
path: "site/"
4141

4242
pages:
4343
runs-on: ubuntu-latest

.github/workflows/dotnet.yml

Lines changed: 63 additions & 65 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ env:
55
DOTNET_SKIP_FIRST_TIME_EXPERIENCE: true
66
DOTNET_ENVIRONMENT: github
77
ASPNETCORE_ENVIRONMENT: github
8-
BUILD_PATH: '${{github.workspace}}/artifacts'
8+
BUILD_PATH: "${{github.workspace}}/artifacts"
99
COVERALLS_REPO_TOKEN: ${{ secrets.COVERALLS_REPO_TOKEN }}
1010

1111
on:
@@ -14,101 +14,99 @@ on:
1414
- master
1515
- develop
1616
tags:
17-
- 'v*'
17+
- "v*"
1818
paths-ignore:
19-
- 'docs/**'
20-
- 'mkdocs.yml'
19+
- "docs/**"
20+
- "mkdocs.yml"
2121
pull_request:
2222
branches:
2323
- master
2424
- develop
2525

2626
jobs:
27-
2827
build:
2928
runs-on: ubuntu-latest
3029

3130
services:
3231
mssql:
3332
image: mcr.microsoft.com/mssql/server:2019-latest
3433
env:
35-
MSSQL_SA_PASSWORD: '!P@ssw0rd'
36-
ACCEPT_EULA: 'Y'
34+
MSSQL_SA_PASSWORD: "!P@ssw0rd"
35+
ACCEPT_EULA: "Y"
3736
ports:
3837
- 1433:1433
3938
volumes:
4039
- mssql_data:/var/opt/mssql
4140

4241
steps:
43-
- name: Checkout
44-
uses: actions/checkout@v4
45-
with:
46-
fetch-depth: 0
47-
48-
- name: Install .NET
49-
uses: actions/setup-dotnet@v4
50-
with:
42+
- name: Checkout
43+
uses: actions/checkout@v4
44+
with:
45+
fetch-depth: 0
46+
47+
- name: Install .NET
48+
uses: actions/setup-dotnet@v4
49+
with:
5150
dotnet-version: |
52-
6.0.x
53-
8.0.x
51+
6.0.x
52+
8.0.x
5453
55-
- name: Restore Dependencies
56-
run: dotnet restore
54+
- name: Restore Dependencies
55+
run: dotnet restore
5756

58-
- name: Build Solution
59-
run: dotnet build --no-restore --configuration Release
57+
- name: Build Solution
58+
run: dotnet build --no-restore --configuration Release
6059

61-
- name: Run Test
62-
run: dotnet test --no-build --configuration Release --collect:"XPlat Code Coverage" --settings coverlet.runsettings
60+
- name: Run Test
61+
run: dotnet test --no-build --configuration Release --collect:"XPlat Code Coverage" --settings coverlet.runsettings
6362

64-
- name: Report Coverage
65-
if: success()
66-
uses: coverallsapp/github-action@v2
67-
with:
68-
file: "${{github.workspace}}/test/*/TestResults/*/coverage.info"
69-
format: lcov
63+
- name: Report Coverage
64+
if: success()
65+
uses: coverallsapp/github-action@v2
66+
with:
67+
file: "${{github.workspace}}/test/*/TestResults/*/coverage.info"
68+
format: lcov
7069

71-
- name: Create Packages
72-
if: success() && github.event_name != 'pull_request'
73-
run: dotnet pack --configuration Release --include-symbols --include-source --no-build --no-restore --output "${{env.BUILD_PATH}}"
70+
- name: Create Packages
71+
if: success() && github.event_name != 'pull_request'
72+
run: dotnet pack --configuration Release --no-build --output "${{env.BUILD_PATH}}"
7473

75-
- name: Upload Packages
76-
if: success() && github.event_name != 'pull_request'
77-
uses: actions/upload-artifact@v4
78-
with:
79-
name: packages
80-
path: '${{env.BUILD_PATH}}'
74+
- name: Upload Packages
75+
if: success() && github.event_name != 'pull_request'
76+
uses: actions/upload-artifact@v4
77+
with:
78+
name: packages
79+
path: "${{env.BUILD_PATH}}"
8180

8281
deploy:
8382
runs-on: ubuntu-latest
8483
needs: build
8584
if: success() && github.event_name != 'pull_request' && (github.ref == 'refs/heads/master' || startsWith(github.ref, 'refs/tags/v'))
8685

8786
steps:
88-
- name: Download Artifact
89-
uses: actions/download-artifact@v4
90-
with:
91-
name: packages
92-
93-
- name: Publish Packages GitHub
94-
run: |
95-
for package in $(find -name "*.nupkg"); do
96-
echo "${0##*/}": Pushing $package...
97-
dotnet nuget push $package --source https://nuget.pkg.github.com/loresoft/index.json --api-key ${{ secrets.GITHUB_TOKEN }} --skip-duplicate
98-
done
99-
100-
- name: Publish Packages feedz
101-
run: |
102-
for package in $(find -name "*.nupkg"); do
103-
echo "${0##*/}": Pushing $package...
104-
dotnet nuget push $package --source https://f.feedz.io/loresoft/open/nuget/index.json --api-key ${{ secrets.FEEDDZ_KEY }} --skip-duplicate
105-
done
106-
107-
- name: Publish Packages Nuget
108-
if: startsWith(github.ref, 'refs/tags/v')
109-
run: |
110-
for package in $(find -name "*.nupkg"); do
111-
echo "${0##*/}": Pushing $package...
112-
dotnet nuget push $package --source https://api.nuget.org/v3/index.json --api-key ${{ secrets.NUGET_KEY }} --skip-duplicate
113-
done
114-
87+
- name: Download Artifact
88+
uses: actions/download-artifact@v4
89+
with:
90+
name: packages
91+
92+
- name: Publish Packages GitHub
93+
run: |
94+
for package in $(find -name "*.nupkg"); do
95+
echo "${0##*/}": Pushing $package...
96+
dotnet nuget push $package --source https://nuget.pkg.github.com/loresoft/index.json --api-key ${{ secrets.GITHUB_TOKEN }} --skip-duplicate
97+
done
98+
99+
- name: Publish Packages feedz
100+
run: |
101+
for package in $(find -name "*.nupkg"); do
102+
echo "${0##*/}": Pushing $package...
103+
dotnet nuget push $package --source https://f.feedz.io/loresoft/open/nuget/index.json --api-key ${{ secrets.FEEDDZ_KEY }} --skip-duplicate
104+
done
105+
106+
- name: Publish Packages Nuget
107+
if: startsWith(github.ref, 'refs/tags/v')
108+
run: |
109+
for package in $(find -name "*.nupkg"); do
110+
echo "${0##*/}": Pushing $package...
111+
dotnet nuget push $package --source https://api.nuget.org/v3/index.json --api-key ${{ secrets.NUGET_KEY }} --skip-duplicate
112+
done

coverlet.runsettings

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,6 @@
55
<DataCollector friendlyName="XPlat code coverage">
66
<Configuration>
77
<Format>lcov</Format>
8-
<ExcludeByAttribute>Obsolete,GeneratedCodeAttribute,CompilerGeneratedAttribute,TestSDKAutoGeneratedCode</ExcludeByAttribute>
9-
<SkipAutoProps>true</SkipAutoProps>
108
</Configuration>
119
</DataCollector>
1210
</DataCollectors>

sample/Tracker/Tracker.Core/Tracker.Core.csproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,9 @@
88

99
<ItemGroup>
1010
<PackageReference Include="AutoMapper" Version="13.0.1" />
11-
<PackageReference Include="FluentValidation" Version="11.9.0" />
11+
<PackageReference Include="FluentValidation" Version="11.9.1" />
1212
<PackageReference Include="Injectio" Version="3.1.0" PrivateAssets="all" />
13-
<PackageReference Include="Microsoft.EntityFrameworkCore.SqlServer" Version="8.0.3" />
13+
<PackageReference Include="Microsoft.EntityFrameworkCore.SqlServer" Version="8.0.4" />
1414
</ItemGroup>
1515

1616
<ItemGroup>

sample/Tracker/Tracker.Scaffold/Tracker.Scaffold.csproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,11 @@
88
</PropertyGroup>
99

1010
<ItemGroup>
11-
<PackageReference Include="Microsoft.EntityFrameworkCore.Design" Version="8.0.3">
11+
<PackageReference Include="Microsoft.EntityFrameworkCore.Design" Version="8.0.4">
1212
<PrivateAssets>all</PrivateAssets>
1313
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
1414
</PackageReference>
15-
<PackageReference Include="Microsoft.EntityFrameworkCore.SqlServer" Version="8.0.3" />
15+
<PackageReference Include="Microsoft.EntityFrameworkCore.SqlServer" Version="8.0.4" />
1616
</ItemGroup>
1717

1818
</Project>

src/Directory.Build.props

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -16,14 +16,18 @@
1616
<PublishRepositoryUrl>true</PublishRepositoryUrl>
1717
</PropertyGroup>
1818

19-
<PropertyGroup>
20-
<DebugType>portable</DebugType>
21-
<PublishRepositoryUrl>true</PublishRepositoryUrl>
22-
<IncludeSymbols>true</IncludeSymbols>
23-
<SymbolPackageFormat>snupkg</SymbolPackageFormat>
19+
<PropertyGroup Label="Debug">
20+
<DebugType>embedded</DebugType>
21+
<EmbedUntrackedSources>true</EmbedUntrackedSources>
22+
<IncludeSymbols>false</IncludeSymbols>
2423
</PropertyGroup>
2524

26-
<PropertyGroup>
25+
<PropertyGroup Condition="'$(GITHUB_ACTIONS)' == 'true'">
26+
<ContinuousIntegrationBuild>true</ContinuousIntegrationBuild>
27+
</PropertyGroup>
28+
29+
<PropertyGroup Label="Options">
30+
<DefaultLanguage>en-US</DefaultLanguage>
2731
<LangVersion>latest</LangVersion>
2832
<ImplicitUsings>enable</ImplicitUsings>
2933
<NoWarn>1591</NoWarn>

src/EntityFrameworkCore.Generator.Core/EntityFrameworkCore.Generator.Core.csproj

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<Project Sdk="Microsoft.NET.Sdk">
1+
<Project Sdk="Microsoft.NET.Sdk">
22
<PropertyGroup>
33
<TargetFramework>net8.0</TargetFramework>
44
<RootNamespace>EntityFrameworkCore.Generator</RootNamespace>
@@ -7,17 +7,17 @@
77

88
<ItemGroup>
99
<PackageReference Include="Microsoft.CodeAnalysis.CSharp.Scripting" Version="4.5.0" />
10-
<PackageReference Include="Microsoft.EntityFrameworkCore.Sqlite.NetTopologySuite" Version="8.0.3" />
11-
<PackageReference Include="Microsoft.EntityFrameworkCore.SqlServer.NetTopologySuite" Version="8.0.3" />
10+
<PackageReference Include="Microsoft.EntityFrameworkCore.Sqlite.NetTopologySuite" Version="8.0.4" />
11+
<PackageReference Include="Microsoft.EntityFrameworkCore.SqlServer.NetTopologySuite" Version="8.0.4" />
1212
<PackageReference Include="Microsoft.Extensions.Configuration.UserSecrets" Version="8.0.0" />
1313
<PackageReference Include="Npgsql.EntityFrameworkCore.PostgreSQL.NetTopologySuite" Version="8.0.2" />
14-
<PackageReference Include="Microsoft.EntityFrameworkCore.Design" Version="8.0.3" />
14+
<PackageReference Include="Microsoft.EntityFrameworkCore.Design" Version="8.0.4" />
1515
<PackageReference Include="Pomelo.EntityFrameworkCore.MySql.NetTopologySuite" Version="8.0.2" />
16-
<PackageReference Include="Microsoft.EntityFrameworkCore.Relational" Version="8.0.3" />
17-
<PackageReference Include="Microsoft.EntityFrameworkCore.SqlServer" Version="8.0.3" />
18-
<PackageReference Include="Microsoft.EntityFrameworkCore.Sqlite" Version="8.0.3" />
16+
<PackageReference Include="Microsoft.EntityFrameworkCore.Relational" Version="8.0.4" />
17+
<PackageReference Include="Microsoft.EntityFrameworkCore.SqlServer" Version="8.0.4" />
18+
<PackageReference Include="Microsoft.EntityFrameworkCore.Sqlite" Version="8.0.4" />
1919
<PackageReference Include="Npgsql.EntityFrameworkCore.PostgreSQL" Version="8.0.2" />
20-
<PackageReference Include="Oracle.EntityFrameworkCore" Version="8.21.121" />
20+
<PackageReference Include="Oracle.EntityFrameworkCore" Version="8.23.40" />
2121
<PackageReference Include="Pomelo.EntityFrameworkCore.MySql" Version="8.0.2" />
2222
<PackageReference Include="YamlDotNet" Version="15.1.2" />
2323
</ItemGroup>

src/EntityFrameworkCore.Generator/EntityFrameworkCore.Generator.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
<PackageReference Include="Serilog.Extensions.Hosting" Version="8.0.0" />
1313
<PackageReference Include="Serilog.Sinks.Console" Version="5.0.1" />
1414
</ItemGroup>
15-
15+
1616
<ItemGroup>
1717
<ProjectReference Include="..\EntityFrameworkCore.Generator.Core\EntityFrameworkCore.Generator.Core.csproj" />
1818
</ItemGroup>

test/EntityFrameworkCore.Generator.Core.Tests/EntityFrameworkCore.Generator.Core.Tests.csproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,8 @@
2828
<PackageReference Include="Microsoft.Extensions.Configuration.EnvironmentVariables" Version="8.0.0" />
2929
<PackageReference Include="Microsoft.Extensions.Configuration.Json" Version="8.0.0" />
3030
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.9.0" />
31-
<PackageReference Include="xunit" Version="2.7.0" />
32-
<PackageReference Include="xunit.runner.visualstudio" Version="2.5.7">
31+
<PackageReference Include="xunit" Version="2.8.0" />
32+
<PackageReference Include="xunit.runner.visualstudio" Version="2.8.0">
3333
<PrivateAssets>all</PrivateAssets>
3434
<IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets>
3535
</PackageReference>

0 commit comments

Comments
 (0)