Refactor streaming services #5
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
| 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: "^1.25" | |
| - 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/HEAD/install.sh | sh -s -- -b $(go env GOPATH)/bin v2.6.0 | |
| - name: Install cspell | |
| run: npm install -g cspell@8.13.1 | |
| - name: Install Terraform | |
| uses: hashicorp/setup-terraform@v3 |