Skip to content

feat: Support multiple provisioning providers per extension #9

feat: Support multiple provisioning providers per extension

feat: Support multiple provisioning providers per extension #9

name: "Copilot Setup Steps"
# This workflow is used to set up the environment for GitHub Copilot coding agent.
# https://docs.github.com/copilot/customizing-copilot/customizing-the-development-environment-for-copilot-coding-agent
# Automatically run the setup steps when they are changed to allow for easy validation, and
# allow manual testing through the repository's "Actions" tab
on:
workflow_dispatch:
push:
paths:
- .github/workflows/copilot-setup-steps.yml
pull_request:
paths:
- .github/workflows/copilot-setup-steps.yml
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
permissions:
# To clone repo
contents: read
steps:
- name: Checkout code
uses: actions/checkout@v4
with:
# Fetch full history for writing changelogs
fetch-depth: 0
# Workaround for fetch-depth being overridden by coding agent orchestration
- name: Run git fetch to get full history
run: git fetch --unshallow origin && git fetch origin main:refs/remotes/origin/main
continue-on-error: true
- name: Set up Go
uses: actions/setup-go@v6
with:
go-version-file: cli/azd/go.mod
- name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version: "20"
- name: Install golangci-lint
run: curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/v2.11.4/install.sh | sh -s -- -b $(go env GOPATH)/bin v2.11.4
- name: Install cspell
run: npm install -g cspell@8.13.1
- name: Install Terraform
uses: hashicorp/setup-terraform@v3