Switch Windows to containers running in WSL - #38
Merged
Merged
Conversation
danielmarbach
marked this pull request as ready for review
July 28, 2026 20:03
danielmarbach
commented
Jul 31, 2026
rbev
approved these changes
Jul 31, 2026
danielmarbach
commented
Jul 31, 2026
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 pull request significantly refactors the action to remove all dependencies on Azure Container Instances for Windows runners. Instead, it now runs PostgreSQL inside a WSL2-based Docker container on Windows runners, aligning the approach with Linux runners and simplifying the setup and cleanup processes. The documentation and input parameters have been updated to reflect these architectural changes.
Major architectural changes:
Input and interface changes:
taginput parameter from the action (action.yml,index.js,setup.ps1, and related workflow/example usages). The action interface is now simpler, and the documentation has been updated to indicate that only the connection string name is required. [1] [2] [3] [4] [5] [6] [7]Documentation and usage updates:
README.mdto clarify that on Windows runners, PostgreSQL runs inside WSL2 and no Azure resources are needed. Simplified setup and cleanup instructions, and removed references to Azure-specific environment variables and steps. [1] [2] [3] [4]Script and reliability improvements:
SELECT 1query instead of--list, improving compatibility with different server/client versions.These changes make the action easier to use, more consistent across operating systems, and remove the requirement for Azure access on Windows runners.