Skip to content

🔧 refactor(ci): Restructure GitHub Actions workflow for improved clarity#1918

Merged
mkmccarty merged 1 commit intomainfrom
mm-branch-1
Dec 9, 2025
Merged

🔧 refactor(ci): Restructure GitHub Actions workflow for improved clarity#1918
mkmccarty merged 1 commit intomainfrom
mm-branch-1

Conversation

@mkmccarty
Copy link
Owner

No description provided.

Copilot AI review requested due to automatic review settings December 9, 2025 03:58
@mkmccarty mkmccarty merged commit 775c3b9 into main Dec 9, 2025
14 checks passed
@mkmccarty mkmccarty deleted the mm-branch-1 branch December 9, 2025 03:58
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR consolidates the CI workflows by removing the separate development.yml workflow and merging its functionality into ci.yml, resulting in a more organized and maintainable CI pipeline with explicit job dependencies.

  • Removed redundant development.yml workflow file
  • Restructured ci.yml with separate jobs for format, test, lint, audit, and build
  • Added explicit job names and dependencies for clearer workflow execution order

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 13 comments.

File Description
.github/workflows/development.yml Removed - functionality migrated to ci.yml
.github/workflows/ci.yml Consolidated workflow with improved structure: added audit and build jobs, improved step naming consistency, and established job dependencies

@@ -15,7 +16,7 @@ jobs:
with:
Copy link

Copilot AI Dec 9, 2025

Choose a reason for hiding this comment

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

Using @main for GitHub Actions is not recommended for production workflows. The @main branch can change unexpectedly and potentially break your CI pipeline. Consider pinning to a specific version tag (e.g., actions/setup-go@v5) or commit SHA for stability and reproducibility.

Copilot uses AI. Check for mistakes.
Copy link
Owner Author

Choose a reason for hiding this comment

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

@copilot open a new pull request to apply changes based on this feedback

Comment on lines +88 to +97
- name: Upload linux
uses: actions/upload-artifact@main
with:
name: boostbot-linux
path: output/linux
- name: Upload freebsd
uses: actions/upload-artifact@main
with:
name: boostbot-freebsd
path: output/freebsd No newline at end of file
Copy link

Copilot AI Dec 9, 2025

Choose a reason for hiding this comment

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

The conditional if: startsWith(matrix.go-version,'1.25.5') from the original workflow has been removed. This means artifacts will now be uploaded for all Go versions in the matrix. While the current matrix only contains one version, if additional versions are added later, this could result in duplicate artifacts or unexpected behavior. Consider either: (1) keeping the conditional if the matrix might expand, or (2) removing the matrix entirely since only one Go version is used.

Copilot uses AI. Check for mistakes.
Copy link
Owner Author

Choose a reason for hiding this comment

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

@copilot open a new pull request to apply changes based on this feedback

check-latest: true
- name: Code
- name: Checkout code
uses: actions/checkout@main
Copy link

Copilot AI Dec 9, 2025

Choose a reason for hiding this comment

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

Using @main for GitHub Actions is not recommended for production workflows. The @main branch can change unexpectedly and potentially break your CI pipeline. Consider pinning to a specific version tag (e.g., actions/checkout@v4) or commit SHA for stability and reproducibility.

Copilot uses AI. Check for mistakes.
Copy link
Owner Author

Choose a reason for hiding this comment

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

@copilot open a new pull request to apply changes based on this feedback

@@ -30,9 +31,10 @@ jobs:
uses: actions/setup-go@main
Copy link

Copilot AI Dec 9, 2025

Choose a reason for hiding this comment

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

Using @main for GitHub Actions is not recommended for production workflows. The @main branch can change unexpectedly and potentially break your CI pipeline. Consider pinning to a specific version tag (e.g., actions/setup-go@v5) or commit SHA for stability and reproducibility.

Copilot uses AI. Check for mistakes.
Copy link
Owner Author

Choose a reason for hiding this comment

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

@copilot open a new pull request to apply changes based on this feedback

go-version: '1.25.5'
- name: Code
- name: Checkout code
uses: actions/checkout@main
Copy link

Copilot AI Dec 9, 2025

Choose a reason for hiding this comment

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

Using @main for GitHub Actions is not recommended for production workflows. The @main branch can change unexpectedly and potentially break your CI pipeline. Consider pinning to a specific version tag (e.g., actions/checkout@v4) or commit SHA for stability and reproducibility.

Copilot uses AI. Check for mistakes.
Copy link
Owner Author

Choose a reason for hiding this comment

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

@copilot open a new pull request to apply changes based on this feedback

name: boostbot-linux
path: output/linux
- name: Upload freebsd
uses: actions/upload-artifact@main
Copy link

Copilot AI Dec 9, 2025

Choose a reason for hiding this comment

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

Using @main for GitHub Actions is not recommended for production workflows. The @main branch can change unexpectedly and potentially break your CI pipeline. Consider pinning to a specific version tag (e.g., actions/upload-artifact@v4) or commit SHA for stability and reproducibility.

Suggested change
uses: actions/upload-artifact@main
uses: actions/upload-artifact@v4

Copilot uses AI. Check for mistakes.
go-version: ${{ matrix.go-version }}
- name: Code
- name: Checkout code
uses: actions/checkout@main
Copy link

Copilot AI Dec 9, 2025

Choose a reason for hiding this comment

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

Using @main for GitHub Actions is not recommended for production workflows. The @main branch can change unexpectedly and potentially break your CI pipeline. Consider pinning to a specific version tag (e.g., actions/checkout@v4) or commit SHA for stability and reproducibility.

Copilot uses AI. Check for mistakes.
@@ -41,11 +43,55 @@ jobs:
uses: actions/setup-go@main
Copy link

Copilot AI Dec 9, 2025

Choose a reason for hiding this comment

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

Using @main for GitHub Actions is not recommended for production workflows. The @main branch can change unexpectedly and potentially break your CI pipeline. Consider pinning to a specific version tag (e.g., actions/setup-go@v5) or commit SHA for stability and reproducibility.

Copilot uses AI. Check for mistakes.
with:
go-version: ${{ matrix.go-version }}
- name: Checkout code
uses: actions/checkout@main
Copy link

Copilot AI Dec 9, 2025

Choose a reason for hiding this comment

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

Using @main for GitHub Actions is not recommended for production workflows. The @main branch can change unexpectedly and potentially break your CI pipeline. Consider pinning to a specific version tag (e.g., actions/checkout@v4) or commit SHA for stability and reproducibility.

Copilot uses AI. Check for mistakes.
with:
go-version: '1.25.5'
- name: Checkout code
uses: actions/checkout@main
Copy link

Copilot AI Dec 9, 2025

Choose a reason for hiding this comment

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

Using @main for GitHub Actions is not recommended for production workflows. The @main branch can change unexpectedly and potentially break your CI pipeline. Consider pinning to a specific version tag (e.g., actions/checkout@v4) or commit SHA for stability and reproducibility.

Copilot uses AI. Check for mistakes.
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