Skip to content

Copilot Setup Steps

Copilot Setup Steps #4

# Setup steps for the GitHub Copilot Coding Agent.
# This workflow installs Go, downloads dependencies, and validates
# that the project compiles and passes tests — giving the agent a
# working environment identical to local development.
name: Copilot Setup Steps
on:
workflow_dispatch:
permissions:
contents: read
jobs:
# The job MUST be called copilot-setup-steps or it will not be picked up by Copilot.
copilot-setup-steps:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v5
- uses: actions/setup-go@v5
with:
go-version: '1.22'
cache: true
- run: go mod download
- run: go build ./...
- run: go test ./... -short