Skip to content

Add GitHub Actions release workflow - #6

Merged
blue4209211 merged 8 commits into
mainfrom
add-release-workflow-11517073744685522309
Jan 5, 2026
Merged

Add GitHub Actions release workflow#6
blue4209211 merged 8 commits into
mainfrom
add-release-workflow-11517073744685522309

Conversation

@google-labs-jules

Copy link
Copy Markdown
Contributor

Added a GitHub Actions workflow to automate the build and release process. The workflow triggers on tags starting with v*, builds the Go application for multiple platforms (Linux, Windows, macOS), and creates a GitHub release with the compiled binaries as artifacts.


PR created automatically by Jules for task 11517073744685522309 started by @blue4209211

@google-labs-jules

Copy link
Copy Markdown
Contributor Author

👋 Jules, reporting for duty! I'm here to lend a hand with this pull request.

When you start a review, I'll add a 👀 emoji to each comment to let you know I've read it. I'll focus on feedback directed at me and will do my best to stay out of conversations between you and other bots or reviewers to keep the noise down.

I'll push a commit with your requested changes shortly after. Please note there might be a delay between these steps, but rest assured I'm on the job!

For more direct control, you can switch me to Reactive Mode. When this mode is on, I will only act on comments where you specifically mention me with @jules. You can find this option in the Pull Request section of your global Jules UI settings. You can always switch back!

New to Jules? Learn more at jules.google/docs.


For security, I will only act on instructions from the user who triggered this task.

@blue4209211
blue4209211 marked this pull request as ready for review January 3, 2026 13:54
@blue4209211
blue4209211 force-pushed the add-release-workflow-11517073744685522309 branch from 8934389 to ace2008 Compare January 5, 2026 09:49
This commit adds a new workflow `.github/workflows/release.yml` that triggers on tags starting with `v*`.
It builds the application for Linux (amd64, arm64), Windows (amd64), and macOS (amd64, arm64) using a matrix strategy.
The built binaries are then uploaded as release assets using `softprops/action-gh-release`.
This commit adds a new workflow `.github/workflows/release.yml` that triggers on tags starting with `v*`.
It builds the application for Linux (amd64, arm64), Windows (amd64), and macOS (amd64, arm64) using a matrix strategy.
It explicitly sets `CGO_ENABLED=0` to ensure static binaries for better compatibility.
The built binaries are then uploaded as release assets using `softprops/action-gh-release`.
This commit adds a new workflow `.github/workflows/ci.yml` that triggers on pull requests.
It runs `golangci-lint`, `go fmt`, and `go test` to ensure code quality.
It also adds a `Makefile` with targets `fmt`, `lint`, and `test` to support the CI workflow and local development.
The release workflow is also updated to support macOS binary signing.
This commit adds a new workflow `.github/workflows/ci.yml` that triggers on pull requests.
It runs `golangci-lint` (v2.7.2), `go fmt`, and `go test` to ensure code quality using Go 1.25.
It also adds a `Makefile` with targets `fmt`, `lint`, and `test`.
The release workflow `.github/workflows/release.yml` is added to build and release artifacts for Linux, Windows, and macOS on tags.
It includes support for macOS binary signing and uses Go 1.25.
`go.mod` is updated to Go 1.25.
This commit adds a new workflow `.github/workflows/ci.yml` that triggers on pull requests.
It runs `golangci-lint` (using `golangci-lint-action@v9`), `go fmt`, and `go test` to ensure code quality using Go 1.25.
It also adds a `Makefile` with targets `fmt`, `lint`, and `test`.
The release workflow `.github/workflows/release.yml` is added to build and release artifacts for Linux, Windows, and macOS on tags.
It includes support for macOS binary signing.
`go.mod` is updated to Go 1.25.
This commit:
- Adds `.github/workflows/ci.yml` for PR validation (lint/fmt/test).
- Adds `.github/workflows/release.yml` for multi-platform releases on tags.
- Adds `Makefile` for common tasks.
- Upgrades `go.mod` to Go 1.25.
- Fixes linting issues in `internal/aes.go`, `base32.go`, `base64.go` (switch statements).
- Fixes deprecation warning in `internal/rand.go` (remove rand.Seed).
Refactored `if-else` chains to `switch` statements in `internal/aes.go`, `base32.go`, `base64.go`, and `hex.go` to satisfy `staticcheck` (QF1003).
Removed deprecated `rand.Seed` call in `internal/rand.go` (SA1019).
Upgraded `go.mod` and GitHub Actions workflows to use Go 1.25.
Updated `golangci-lint-action` to v9 to support newer configurations.
Added `Makefile` and CI/Release workflows.
- Added `.github/workflows/ci.yml` for PR validation (lint/fmt/test) using Go 1.25 and `golangci-lint-action@v9`.
- Added `.github/workflows/release.yml` for releasing binaries on `v*` tags with support for Linux, Windows, and macOS (signed).
- Added `Makefile` with common targets.
- Upgraded `go.mod` to Go 1.25.
- Fixed `QF1003` linting issues (replace if-else with switch) in `internal/aes.go`, `base32.go`, `base64.go`, `hex.go`, `jwt.go`, and `url.go`.
- Fixed `SA1019` linting issue (remove deprecated `rand.Seed`) in `internal/rand.go`.
- Note: `internal/bcrypt.go` and `internal/html.go` mentioned in error logs were not found in the environment and were not modified.
@blue4209211
blue4209211 force-pushed the add-release-workflow-11517073744685522309 branch from ace2008 to 6d2697e Compare January 5, 2026 09:58
@blue4209211
blue4209211 merged commit bf43fa2 into main Jan 5, 2026
1 check passed
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