Update all dependencies and GitHub Actions#421
Merged
Conversation
This consolidated PR addresses all pending dependabot updates: **NuGet Packages:** - Azure.Identity: 1.13.2 → 1.16.0 (security fixes) - Azure.Extensions.AspNetCore.Configuration.Secrets: 1.3.2 → 1.4.0 - Ardalis.Specification: 8.0.0 → 9.3.1 - Ardalis.Specification.EntityFrameworkCore: 8.0.0 → 9.3.1 - Ardalis.GuardClauses: 4.5.0 → 5.0.0 **GitHub Actions:** - actions/checkout: v4 → v5 - actions/setup-dotnet: v4 → v5 - actions/upload-artifact: v4 → v5 - actions/download-artifact: v4 → v6 **Breaking Changes Fixed:** - Updated Azure App Configuration API calls (deprecated SetCacheExpiration → SetRefreshInterval) - All Ardalis packages updated to latest major versions **Testing:** - Build validated: All 10 projects compile successfully - No errors or warnings Resolves #408 Consolidates PRs: #390, #391, #392, #394, #395, #405, #406, #418, #419
There was a problem hiding this comment.
Pull Request Overview
This PR consolidates multiple dependency updates for both NuGet packages and GitHub Actions, while addressing breaking changes in the Azure App Configuration API. The changes align package versions with the .NET 8.0 target framework and update CI/CD workflows to use newer action versions.
Key Changes:
- Updated Azure and Ardalis packages with API migration for deprecated methods
- Corrected package versions to align with .NET 8.0 (downgraded EF Core Tools and System.Text.Json from 9.x to 8.x)
- Updated GitHub Actions to latest versions (checkout, setup-dotnet, upload-artifact)
Reviewed Changes
Copilot reviewed 5 out of 5 changed files in this pull request and generated no comments.
Show a summary per file
| File | Description |
|---|---|
Directory.Packages.props |
Updated NuGet package versions including Azure.Identity, Ardalis.Specification, and corrected version alignment with .NET 8.0 target |
src/Web/Program.cs |
Migrated deprecated Azure App Configuration API calls to use SetRefreshInterval instead of SetCacheExpiration |
.github/workflows/dotnetcore.yml |
Updated GitHub Actions to v5 and improved YAML formatting consistency |
.github/workflows/eshoponweb-cicd.yml |
Updated GitHub Actions and standardized YAML formatting with consistent indentation |
.github/workflows/richnav.yml |
Updated GitHub Actions to v5 and improved YAML formatting with consistent quote styles |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This consolidated PR addresses all pending dependabot updates:
NuGet Packages:
GitHub Actions:
Breaking Changes Fixed:
Testing:
Resolves #408
Consolidates PRs: #390, #391, #392, #394, #395, #405, #406, #418, #419