Skip to content

Commit 9253c1a

Browse files
committed
feat: remove Aspire workload installation, refine CI test commands, and enhance Dependabot configuration with patch ignore and new groups
1 parent 47578ad commit 9253c1a

3 files changed

Lines changed: 29 additions & 10 deletions

File tree

.github/dependabot.yml

Lines changed: 23 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,10 @@ updates:
1616
commit-message:
1717
prefix: "chore"
1818
include: "scope"
19+
# Ignore patch updates for stable packages to reduce noise
20+
ignore:
21+
- dependency-name: "*"
22+
update-types: ["version-update:semver-patch"]
1923
groups:
2024
aspire:
2125
patterns:
@@ -26,10 +30,28 @@ updates:
2630
microsoft:
2731
patterns:
2832
- "Microsoft.*"
33+
opentelemetry:
34+
patterns:
35+
- "OpenTelemetry.*"
36+
wolverine:
37+
patterns:
38+
- "WolverineFx*"
39+
npgsql:
40+
patterns:
41+
- "Npgsql.*"
42+
- "AspNetCore.HealthChecks.NpgSql"
2943
testing:
3044
patterns:
31-
- "xunit*"
45+
- "TUnit*"
3246
- "NSubstitute"
47+
roslyn-analyzers:
48+
patterns:
49+
- "Microsoft.CodeAnalysis.*"
50+
api-tooling:
51+
patterns:
52+
- "Scalar.*"
53+
- "Refit.*"
54+
- "Asp.Versioning.*"
3355

3456
# Enable version updates for GitHub Actions
3557
- package-ecosystem: "github-actions"

.github/workflows/ci.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,6 @@ jobs:
2525
with:
2626
dotnet-version: ${{ env.DOTNET_VERSION }}
2727

28-
- name: Install Aspire workload
29-
run: dotnet workload install aspire
30-
3128
- name: Cache NuGet packages
3229
uses: actions/cache@v4
3330
with:
@@ -43,16 +40,19 @@ jobs:
4340
run: dotnet build --no-restore --configuration Release
4441

4542
- name: Run API unit tests (fast feedback)
46-
run: dotnet test --project src/ApiService/BookStore.ApiService.Tests/BookStore.ApiService.Tests.csproj --configuration Release --no-build --treenode-filter "/**[Category=Unit]" ${{ github.event_name == 'pull_request' && '--fail-fast' || '' }}
43+
run: dotnet test --configuration Release --no-build --treenode-filter "/**[Category=Unit]" ${{ github.event_name == 'pull_request' && '--fail-fast' || '' }}
44+
working-directory: src/ApiService/BookStore.ApiService.Tests
4745
# TUnit automatically generates GitHub Actions test summary
4846
# Run fast unit tests first for quick feedback
4947

5048
- name: Run analyzer tests
51-
run: dotnet test --project src/ApiService/BookStore.ApiService.Analyzers.Tests/BookStore.ApiService.Analyzers.Tests.csproj --configuration Release --no-build --treenode-filter "/**[Category=Unit]"
49+
run: dotnet test --configuration Release --no-build --treenode-filter "/**[Category=Unit]"
50+
working-directory: src/ApiService/BookStore.ApiService.Analyzers.Tests
5251
# Verify Roslyn analyzers work correctly
5352

5453
- name: Run web integration tests
55-
run: dotnet test --project src/Web/BookStore.Web.Tests/BookStore.Web.Tests.csproj --configuration Release --no-build --treenode-filter "/**[Category=Integration]"
54+
run: dotnet test --configuration Release --no-build --treenode-filter "/**[Category=Integration]"
55+
working-directory: src/Web/BookStore.Web.Tests
5656
# Integration tests run after unit tests pass
5757
# Slower tests that require full application stack
5858

.github/workflows/codeql.yml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,9 +36,6 @@ jobs:
3636
with:
3737
dotnet-version: '10.0.x'
3838

39-
- name: Install Aspire workload
40-
run: dotnet workload install aspire
41-
4239
- name: Restore dependencies
4340
run: dotnet restore
4441

0 commit comments

Comments
 (0)