-
Notifications
You must be signed in to change notification settings - Fork 1
Use package lock files #1392
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Use package lock files #1392
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull request overview
This PR enables the use of NuGet package lock files across the solution to ensure deterministic and reproducible builds by locking package versions.
Key changes:
- Added package lock files (
packages.lock.json) for all projects in the BuildingBlocks and Applications directories - Modified Dockerfiles to restore dependencies before publishing with the
--no-restoreflag - Updated GitHub Actions workflow to use
/p:ContinuousIntegrationBuild=trueflag during restore and build - Removed unnecessary
AdminCli.csprojproperties - Minor code cleanup (removed empty line)
Reviewed changes
Copilot reviewed 32 out of 134 changed files in this pull request and generated no comments.
Show a summary per file
| File | Description |
|---|---|
| BuildingBlocks/test/Crypto.Tests/packages.lock.json | Added package lock file for Crypto tests |
| BuildingBlocks/test/BuildingBlocks.Infrastructure.Tests/packages.lock.json | Added package lock file for Infrastructure tests |
| BuildingBlocks/test/BuildingBlocks.Application.Tests/packages.lock.json | Added package lock file for Application tests |
| BuildingBlocks/src/Tooling/packages.lock.json | Added package lock file for Tooling library |
| BuildingBlocks/src/DevelopmentKit.Identity/packages.lock.json | Added package lock file for Identity library |
| BuildingBlocks/src/Crypto/packages.lock.json | Added package lock file for Crypto library |
| BuildingBlocks/src/BuildingBlocks.SDK/packages.lock.json | Added package lock file for SDK library |
| BuildingBlocks/src/BuildingBlocks.Module/packages.lock.json | Added package lock file for Module library |
| BuildingBlocks/src/BuildingBlocks.Domain/packages.lock.json | Added package lock file for Domain library |
| Applications/SseServer/src/SseServer/Dockerfile | Added separate restore step for HealthCheck before publish |
| Applications/IdentityDeletionJobs/src/Job.IdentityDeletion/Workers/ActualDeletionWorker.cs | Removed extraneous blank line |
| Applications/HealthCheck/src/packages.lock.json | Added package lock file for HealthCheck application |
| Applications/ConsumerApi/src/Dockerfile | Added separate restore step for HealthCheck before publish |
| Applications/AdminCli/src/AdminCli/AdminCli.csproj | Removed redundant MSBuild properties |
| .github/workflows/test.yml | Added ContinuousIntegrationBuild flag to restore and build commands |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Readiness checklist
Description
dotnet restore. That's why I had to add the lockfiles to the COPY statements.