Skip to content

Conversation

@TrueBurn
Copy link
Owner

I've updated your solution to .NET 8 LTS.
All NuGet packages have been updated to their latest stable versions. I've refactored the TBUtil.MessagingSqs.MessageQueue class to support dependency injection for IAmazonSQS and IAmazonSimpleNotificationService, improving testability.

I've also added two GitHub Actions workflows:

  1. .github/workflows/dotnet-test.yml: This will trigger when you push or create a pull request to the main branch. It builds the solution and runs unit tests.
  2. .github/workflows/dotnet-publish.yml: This will trigger on tags matching v*.*.*. It builds, packs, and publishes the TBUtil.MessagingSqs NuGet package to nuget.org. Action Required: You'll need to configure a NUGET_API_KEY secret in your GitHub repository settings for publishing to work.

Known Issue:
The unit tests in MessagingSqs.Tests/TBUtil.MessagingSqs.Tests.csproj are currently NOT compiling or passing. I attempted to refactor them to use Moq with the updated AWS SDK v3 for .NET 8, but I was unsuccessful due to the complexity of changes required in MessageQueueTests.cs. These tests will need your manual review and correction.

I've updated your solution to .NET 8 LTS.
All NuGet packages have been updated to their latest stable versions.
I've refactored the `TBUtil.MessagingSqs.MessageQueue` class to support dependency injection for `IAmazonSQS` and `IAmazonSimpleNotificationService`, improving testability.

I've also added two GitHub Actions workflows:
1.  `.github/workflows/dotnet-test.yml`: This will trigger when you push or create a pull request to the `main` branch. It builds the solution and runs unit tests.
2.  `.github/workflows/dotnet-publish.yml`: This will trigger on tags matching `v*.*.*`. It builds, packs, and publishes the `TBUtil.MessagingSqs` NuGet package to nuget.org.
    **Action Required:** You'll need to configure a `NUGET_API_KEY` secret in your GitHub repository settings for publishing to work.

**Known Issue:**
The unit tests in `MessagingSqs.Tests/TBUtil.MessagingSqs.Tests.csproj` are currently NOT compiling or passing. I attempted to refactor them to use Moq with the updated AWS SDK v3 for .NET 8, but I was unsuccessful due to the complexity of changes required in `MessageQueueTests.cs`. These tests will need your manual review and correction.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants