Skip to content

Commit

Permalink
Add dotnet-consolidate and snitch to pipeline
Browse files Browse the repository at this point in the history
  • Loading branch information
martinsmith1968 committed Jan 11, 2025
1 parent ee78423 commit b9de85c
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions .github/workflows/ci-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -215,6 +215,20 @@ jobs:
with:
dotnet-version: ${{ env.DOTNET_VERSION }}

- name: Install .NET Tools
run: |
dotnet tool install -g snitch
dotnet tool install -g dotnet-consolidate
- name: Verify Package Consolidation
run: dotnet consolidate -s "${{ env.PROJECT_NAME }}.sln"

- name: Verify Package Consolidation
run: dotnet-consolidate -s "${{ env.PROJECT_NAME }}.sln"

- name: Verify Package Transitive Dependencies
run: snitch "${{ env.PROJECT_NAME }}.sln"

- name: Restore NuGet packages
run: dotnet restore

Expand Down

0 comments on commit b9de85c

Please sign in to comment.