Skip to content

ci: optimize GitHub Actions workflows#42

Open
jongio wants to merge 1 commit intomainfrom
fix/optimize-github-actions
Open

ci: optimize GitHub Actions workflows#42
jongio wants to merge 1 commit intomainfrom
fix/optimize-github-actions

Conversation

@jongio
Copy link
Owner

@jongio jongio commented Mar 12, 2026

Summary

Optimizes all GitHub Actions workflows to reduce build times and CI costs.

Changes

  • Enable Go module caching - All setup-go steps now use cache: true with cache-dependency-path
  • Remove redundant Go bootstrap pattern - Single setup-go step replaces 3-step bootstrap
  • Add concurrency groups - Prevents duplicate workflow runs on rapid pushes
  • Add job timeouts - All jobs now have timeout-minutes to prevent runaway costs
  • Cache Go development tools - actions/cache for ~/go/bin in preflight jobs
  • Remove duplicate lint jobs - Merged into preflight in ci.yml and release.yml

Files Modified

  • ci.yml, pr-build.yml, release.yml, release-test.yml, codeql.yml, update-azd-core.yml

- Enable Go module caching across all workflows
- Add concurrency groups to prevent duplicate runs
- Remove redundant Go bootstrap pattern
- Add job timeouts to prevent runaway costs
- Cache Go development tools
- Remove duplicate lint jobs

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@github-actions
Copy link
Contributor

🚀 Website Preview

Your PR preview is ready!

📎 Preview URL: https://jongio.github.io/azd-exec/pr/42/

This preview will be automatically cleaned up when the PR is closed.

github-actions bot added a commit that referenced this pull request Mar 12, 2026
@github-actions
Copy link
Contributor

🚀 Test This PR

A preview build (0.4.1-pr42) is ready for testing!

🌐 Website Preview

Live Preview: https://jongio.github.io/azd-exec/pr/42/

One-Line Install (Recommended)

PowerShell (Windows):

iex "& { $(irm https://raw.githubusercontent.com/jongio/azd-exec/main/cli/scripts/install-pr.ps1) } -PrNumber 42 -Version 0.4.1-pr42"

Bash (macOS/Linux):

curl -fsSL https://raw.githubusercontent.com/jongio/azd-exec/main/cli/scripts/install-pr.sh | bash -s 42 0.4.1-pr42

Uninstall

When you're done testing:

PowerShell (Windows):

iex "& { $(irm https://raw.githubusercontent.com/jongio/azd-exec/main/cli/scripts/uninstall-pr.ps1) } -PrNumber 42"

Bash (macOS/Linux):

curl -fsSL https://raw.githubusercontent.com/jongio/azd-exec/main/cli/scripts/uninstall-pr.sh | bash -s 42

Build Info:

What to Test:
Please review the PR description and test the changes described there.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant