Skip to content

Add CWI.yml: Windows CLI build and integration test workflow#37844

Merged
pelikhan merged 2 commits into
mainfrom
copilot/add-traditional-github-actions-workflow
Jun 8, 2026
Merged

Add CWI.yml: Windows CLI build and integration test workflow#37844
pelikhan merged 2 commits into
mainfrom
copilot/add-traditional-github-actions-workflow

Conversation

Copilot AI commented Jun 8, 2026

Copy link
Copy Markdown
Contributor

Adds a traditional (non-agentic) push-triggered workflow that builds the CLI for Windows and runs integration tests to verify the platform works without hanging.

Workflow structure

  • build-windows — builds gh-aw.exe on windows-latest, uploads as gh-aw-windows-amd64 artifact
  • integration-versionTestVersion in ./cmd/gh-aw
  • integration-compileTestCompile in ./pkg/cli
  • integration-audit^TestAudit in ./pkg/cli
  • integration-logsTestLogs in ./pkg/cli

All integration jobs depend on build-windows, download the artifact, and set GH_AW_INTEGRATION_BINARY — the hook in pkg/cli/compile_integration_test.go's TestMain that skips make build when a pre-built binary is provided. Action SHAs are pinned to match versions already in use across ci.yml / cgo.yml.

Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>

@pelikhan pelikhan left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

@copilot lower case .yml

Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>

Copilot AI commented Jun 8, 2026

Copy link
Copy Markdown
Contributor Author

@copilot lower case .yml

Done — renamed to CWI.yml in 3a36b5b.

Copilot AI changed the title Add CWI.Yml: Windows CLI build and integration test workflow Add CWI.yml: Windows CLI build and integration test workflow Jun 8, 2026
Copilot AI requested a review from pelikhan June 8, 2026 15:17
@pelikhan pelikhan marked this pull request as ready for review June 8, 2026 15:34
Copilot AI review requested due to automatic review settings June 8, 2026 15:34
@pelikhan pelikhan merged commit 0351d58 into main Jun 8, 2026
@pelikhan pelikhan deleted the copilot/add-traditional-github-actions-workflow branch June 8, 2026 15:34

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

Note

Copilot was unable to run its full agentic suite in this review.

Adds a GitHub Actions workflow to build the Windows gh-aw CLI and run a set of Windows integration tests using the built binary artifact.

Changes:

  • Introduces a Windows build job that produces and uploads gh-aw.exe as an artifact
  • Adds multiple Windows integration test jobs that download the artifact and run targeted go test commands
  • Enables setup-go caching and dependency verification during CI runs
Show a summary per file
File Description
.github/workflows/CWI.yml New Windows CI workflow that builds the CLI and runs integration tests against the built binary

Copilot's findings

Tip

Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

  • Files reviewed: 1/1 changed files
  • Comments generated: 6

Comment thread .github/workflows/CWI.yml
@@ -0,0 +1,167 @@
name: CWI
Comment thread .github/workflows/CWI.yml
Comment on lines +61 to +65
- name: Checkout code
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2

- name: Set up Go
uses: actions/setup-go@4dc6199c7b1a012772edbd06daecab0f50c9053c # v6
Comment thread .github/workflows/CWI.yml
Comment on lines +90 to +94
- name: Checkout code
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2

- name: Set up Go
uses: actions/setup-go@4dc6199c7b1a012772edbd06daecab0f50c9053c # v6
Comment thread .github/workflows/CWI.yml
Comment on lines +119 to +123
- name: Checkout code
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2

- name: Set up Go
uses: actions/setup-go@4dc6199c7b1a012772edbd06daecab0f50c9053c # v6
Comment thread .github/workflows/CWI.yml
Comment on lines +148 to +152
- name: Checkout code
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2

- name: Set up Go
uses: actions/setup-go@4dc6199c7b1a012772edbd06daecab0f50c9053c # v6
Comment thread .github/workflows/CWI.yml
with:
name: gh-aw-windows-amd64
path: gh-aw.exe
retention-days: 1
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.

3 participants