Repository navigation
Migrate CI from AppVeyor to GitHub Actions - #2
Merged
Merged
Conversation
Co-authored-by: AArnott <3548+AArnott@users.noreply.github.com>
Co-authored-by: AArnott <3548+AArnott@users.noreply.github.com>
Co-authored-by: AArnott <3548+AArnott@users.noreply.github.com>
Co-authored-by: AArnott <3548+AArnott@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Switch build system from AppVeyor to GitHub Actions
Migrate CI from AppVeyor to GitHub Actions
Nov 16, 2025
AArnott
reviewed
Nov 16, 2025
Co-authored-by: AArnott <3548+AArnott@users.noreply.github.com>
Owner
|
@copilot The github actions workflow is failing with this error: It appears this comes from the init.ps1 script. Fix it. |
Co-authored-by: AArnott <3548+AArnott@users.noreply.github.com>
Author
AArnott
force-pushed
the
copilot/switch-to-github-actions
branch
from
November 16, 2025 03:51
e772d64 to
e9c20ce
Compare
AArnott
marked this pull request as ready for review
November 16, 2025 03:52
There was a problem hiding this comment.
Pull Request Overview
This PR successfully migrates the StyleCopAnalyzers CI pipeline from AppVeyor to GitHub Actions. The migration updates the build configuration to use modern GitHub Actions syntax while maintaining the core build functionality.
- Replaces AppVeyor CI with GitHub Actions workflow
- Updates PowerShell scripts for GitHub Actions compatibility
- Removes deprecated AppVeyor configuration files
Reviewed Changes
Copilot reviewed 5 out of 6 changed files in this pull request and generated 1 comment.
Show a summary per file
| File | Description |
|---|---|
.github/workflows/build.yml |
New GitHub Actions workflow implementing matrix builds for Debug/Release configurations |
build/Set-EnvVars.ps1 |
Updated to use modern GitHub Actions environment file syntax instead of deprecated commands |
appveyor.yml |
Removed old AppVeyor configuration |
StyleCopAnalyzers.sln |
Removed reference to deleted appveyor.yml file |
README.md |
Updated CI badge from AppVeyor to GitHub Actions |
.gitignore |
Added *.binlog to ignore MSBuild binary logs |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
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.
Migration from AppVeyor to GitHub Actions ✅
Summary
Successfully migrated the StyleCopAnalyzers repository from AppVeyor CI to GitHub Actions. The new workflow maintains all the functionality of the previous AppVeyor build while following GitHub Actions best practices.
Changes Made:
1. Created GitHub Actions Workflow (
.github/workflows/build.yml)StyleCop.Analyzers.CodeFixes/bin/Release/*.nupkgStyleCop.Analyzers.Status.jsonpermissions: contents: readto limit GITHUB_TOKEN permissions2. Updated README.md
https://github.com/AArnott/StyleCopAnalyzers/workflows/Build/badge.svghttps://github.com/AArnott/StyleCopAnalyzers/actions3. Removed AppVeyor Configuration
appveyor.yml(preserved in git history)appveyor.ymlreference fromStyleCopAnalyzers.sln4. Fixed GitHub Actions Compatibility
build/Set-EnvVars.ps1to use modern GitHub Actions environment file syntax::set-envwith$env:GITHUB_ENVfile writes::add-pathwith$env:GITHUB_PATHfile writesNotes:
windows-latestrunner image for latest Windows environmentFiles Changed:
.github/workflows/build.yml(62 lines)README.md(1 line)StyleCopAnalyzers.sln(1 line removed)build/Set-EnvVars.ps1(2 lines updated for GitHub Actions compatibility)appveyor.yml(25 lines)Original prompt
✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.