Update deprecated GitHub Actions to latest supported versions #1
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 PR addresses the issue with deprecated GitHub Actions in the build and Docker workflows by updating all actions to their latest supported versions.
Changes Made
Build Workflow (
.github/workflows/build.yml)actions/upload-artifact@v2to@v4(v2 is deprecated and no longer supported)actions/checkout@v3to@v4for the latest security updates and featuresactions/setup-dotnet@v3to@v4for improved .NET setup capabilitiesDocker Workflow (
.github/workflows/docker.yml)docker/setup-buildx-action@v2to@v3for enhanced Docker Buildx functionalitydocker/login-action@v3.0.0to@v3(removing specific patch version)docker/build-push-action@v5.1.0to@v6for the latest Docker build featuresTesting
dotnet restoreanddotnet buildboth pass)Impact
These updates ensure that the CI/CD workflows will continue to function properly and take advantage of the latest features, security improvements, and bug fixes provided by the updated actions. The deprecated
actions/upload-artifact@v2was the primary concern as it could potentially stop working in the future.💬 Share your feedback on Copilot coding agent for the chance to win a $200 gift card! Click here to start the survey.