Skip to content

chore: add mac ci#243

Merged
hardfist merged 1 commit intomainfrom
yj/add-mac-ci
Aug 13, 2025
Merged

chore: add mac ci#243
hardfist merged 1 commit intomainfrom
yj/add-mac-ci

Conversation

@hardfist
Copy link
Copy Markdown
Contributor

@hardfist hardfist commented Aug 13, 2025

add mac ci

Copilot AI review requested due to automatic review settings August 13, 2025 06:18
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR adds macOS CI support to the build pipeline by extending the test matrix to include macOS and Windows runners alongside the existing Linux setup. The changes also include cross-platform compatibility improvements for file path handling.

  • Added macOS and Windows runners to the CI test matrix
  • Updated file path handling to use cross-platform utilities
  • Restricted certain CI steps (linting, formatting, spell checking) to Linux only to avoid redundancy

Reviewed Changes

Copilot reviewed 6 out of 6 changed files in this pull request and generated 2 comments.

Show a summary per file
File Description
.github/workflows/ci.yml Extended test matrix to include macOS and Windows runners, conditionally run certain steps only on Linux
.github/actions/setup-go/action.yml Added Linux-only condition for Go module cache cleanup
internal/config/config.go Replaced custom path normalization with TypeScript-go utilities and updated doublestar API calls
internal/config/cwd_test.go Updated doublestar API call from PathMatch to Match
cmd/rslint/lsp.go Replaced string concatenation with filepath.Join for cross-platform path handling
cmd/rslint/api.go Added path normalization for file contents in IPC handler

@hardfist hardfist requested a review from stormslowly August 13, 2025 06:46
@hardfist hardfist merged commit fe48602 into main Aug 13, 2025
19 checks passed
@hardfist hardfist deleted the yj/add-mac-ci branch August 13, 2025 07:11
ScriptedAlchemy pushed a commit that referenced this pull request Aug 15, 2025
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