Fix Windows CI compatibility and binary build issues #214
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.
Fixes Windows compatibility issues in the CI pipeline as referenced in PR #213, enabling cross-platform testing on Windows and macOS in addition to Linux.
Issues Fixed
1. GitHub Actions Syntax Issues
The original PR had incorrect conditional syntax that would cause workflow failures. Fixed
if
conditions to use proper GitHub Actions syntax:2. Windows Binary Build Problem
The
build-npm.mjs
script was not generating Windows executables with the required.exe
extension, causing runtime failures on Windows:3. Platform-Specific Caching Conflicts
Updated cache keys to be OS-specific to prevent cache conflicts between different platforms:
Changes Made
.exe
executablesubuntu-latest
runnerTesting
The CI will now properly test RSLint across all three major platforms, ensuring Windows users have a fully functional linting experience.
💬 Share your feedback on Copilot coding agent for the chance to win a $200 gift card! Click here to start the survey.