Skip to content

Optimize Build Workflow for non-release PRs#1777

Merged
anthony-gomez-fastly merged 2 commits intomainfrom
rcaril/improve-pr-workflow-build-efficiency
May 6, 2026
Merged

Optimize Build Workflow for non-release PRs#1777
anthony-gomez-fastly merged 2 commits intomainfrom
rcaril/improve-pr-workflow-build-efficiency

Conversation

@rcaril
Copy link
Copy Markdown
Member

@rcaril rcaril commented May 6, 2026

Change summary

This PR optimizes the test workflow to only build for ubuntu-latest to save overall build time. Additionally, a new test-release workflow is added to retain the macos-latest and windows-latest platforms builds for release PRs.

The goal of this PR was to provide parity to the changes made in our Terraform repo: fastly/terraform-provider-fastly#1254.

All Submissions:

  • Have you followed the guidelines in our Contributing document?
  • Have you checked to ensure there aren't other open Pull Requests for the same update/change?

New Feature Submissions:

  • Does your submission pass tests?

…tu-latest and added a 'test-release' workflow to retain the macos-latest and windows-latest platforms when a PR names includes "release"
@rcaril rcaril added the Skip-Changelog do not add a changelog entry for this change label May 6, 2026
@rcaril rcaril marked this pull request as ready for review May 6, 2026 18:01
@rcaril rcaril requested a review from a team as a code owner May 6, 2026 18:01
@rcaril rcaril requested a review from kpfleming May 6, 2026 18:01
@rcaril rcaril changed the title Update CI to only build the Ubuntu platform for non-release PRs Optimize Build Workflow for non-release PRs May 6, 2026
Copy link
Copy Markdown
Member

@kpfleming kpfleming left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

For a future PR, investigate making this a 'reusable workflow' in the repository so that the content won't be duplicated.

We'll also need to update the branch protection settings to no longer require these tests to pass.

@anthony-gomez-fastly
Copy link
Copy Markdown
Member

updated the branch protections

@anthony-gomez-fastly anthony-gomez-fastly merged commit ac0ffcf into main May 6, 2026
13 checks passed
@anthony-gomez-fastly anthony-gomez-fastly deleted the rcaril/improve-pr-workflow-build-efficiency branch May 6, 2026 21:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Skip-Changelog do not add a changelog entry for this change

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants