Skip to content
This repository was archived by the owner on May 18, 2026. It is now read-only.

ci: optimize GitHub Actions workflows#42

Merged
jongio merged 2 commits into
mainfrom
fix/optimize-github-actions
Mar 12, 2026
Merged

ci: optimize GitHub Actions workflows#42
jongio merged 2 commits into
mainfrom
fix/optimize-github-actions

Conversation

@jongio

@jongio jongio commented Mar 12, 2026

Copy link
Copy Markdown
Owner

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

github-actions Bot commented Mar 12, 2026

Copy link
Copy Markdown
Contributor

🚀 Website Preview

Your PR preview was available here.

Preview has been cleaned up as the PR was closed.

github-actions Bot added a commit that referenced this pull request Mar 12, 2026
@github-actions

github-actions Bot commented Mar 12, 2026

Copy link
Copy Markdown
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.

Go 1.26.0 has known stdlib vulnerabilities (GO-2026-4599,
GO-2026-4600, GO-2026-4601, GO-2026-4602) fixed in Go 1.26.1.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
github-actions Bot added a commit that referenced this pull request Mar 12, 2026
@jongio jongio merged commit cb0c010 into main Mar 12, 2026
12 checks passed
github-actions Bot added a commit that referenced this pull request Mar 12, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant