Add copilot-setup-steps workflow for automated agent development#217
Merged
HermanPlay merged 5 commits intomasterfrom Dec 7, 2025
Merged
Add copilot-setup-steps workflow for automated agent development#217HermanPlay merged 5 commits intomasterfrom
HermanPlay merged 5 commits intomasterfrom
Conversation
Copilot
AI
changed the title
[WIP] Prepare workflow for automated agent development
Add copilot-setup-steps workflow for automated agent development
Dec 7, 2025
Member
|
change ubuntu-latest to ubuntu-mini |
Contributor
Author
HermanPlay
approved these changes
Dec 7, 2025
Contributor
There was a problem hiding this comment.
Pull request overview
This PR adds a new GitHub Actions workflow (copilot-setup-steps.yml) to prepare the development environment for Copilot coding agents. The workflow automates the setup of Go, project dependencies, and required tools (golangci-lint v2 and swag CLI) before agent operations begin. It supports both manual triggering and automatic validation when the workflow file is modified.
Key Changes:
- New workflow with proper job naming (
copilot-setup-steps) required by Copilot - Go 1.24 setup with dependency caching and installation via
go mod tidy - Installation of critical development tools: golangci-lint v2 and swag CLI
Co-authored-by: HermanPlay <78978614+HermanPlay@users.noreply.github.com>
Co-authored-by: HermanPlay <78978614+HermanPlay@users.noreply.github.com>
Co-authored-by: HermanPlay <78978614+HermanPlay@users.noreply.github.com>
bfecbf0 to
0b0290d
Compare
Member
|
@copilot address review comments. Add caching to speed up the process |
…it/swag fork, and add caching Co-authored-by: HermanPlay <78978614+HermanPlay@users.noreply.github.com>
Contributor
Author
All review comments addressed in commit 0ed4304:
|
…ache: true) Co-authored-by: HermanPlay <78978614+HermanPlay@users.noreply.github.com>
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.
Adds GitHub Actions workflow to prepare development environment for Copilot agents before they start work.
Changes
.github/workflows/copilot-setup-steps.yml: New workflow that:go-version-file: go.modfor automatic version detectiongo mod tidy.golangci.yamlv2 config)mini-maxit/swagfork (consistent with docs.yaml workflow)Workflow Triggers
workflow_dispatchConfiguration
Uses
actions/checkout@v4andactions/setup-go@v5withgo-version-file: go.modfor consistency with existing workflows. Caching is enabled for both Go modules (via setup-go) and installed tools (golangci-lint and swag) to optimize performance.Original prompt
💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.