Skip to content

feat: add CI/CD with GitHub Actions, GoReleaser, and Release Please#1

Merged
Defilan merged 1 commit intomainfrom
feat/ci-setup
Nov 29, 2025
Merged

feat: add CI/CD with GitHub Actions, GoReleaser, and Release Please#1
Defilan merged 1 commit intomainfrom
feat/ci-setup

Conversation

@Defilan
Copy link
Member

@Defilan Defilan commented Nov 29, 2025

Summary

  • Add test and lint workflows that run on PRs and pushes to main
  • Add Release Please for automated versioning based on conventional commits
  • Add GoReleaser for cross-platform CLI builds (linux/darwin × amd64/arm64)
  • Add Docker image builds published to ghcr.io/defilan/issueparser
  • Fix lint issues and update to Go 1.23

How it works

  1. On every PR/push to main: tests and golangci-lint run
  2. When conventional commits merge to main: Release Please opens a version bump PR
  3. When the Release Please PR merges: GoReleaser builds binaries + Docker images and creates a GitHub release

Files added

  • .github/workflows/test.yml - Test workflow
  • .github/workflows/lint.yml - Lint workflow
  • .github/workflows/release-please.yml - Release automation
  • .goreleaser.yaml - Cross-platform build config
  • .golangci.yml - Linter config
  • release-please-config.json / .release-please-manifest.json - Version tracking
  • Dockerfile.goreleaser - Minimal image for releases
  • CLAUDE.md - Developer guidance

Test plan

  • Verify lint workflow passes
  • Verify test workflow passes
  • Merge and confirm Release Please opens a release PR

- Add test workflow (runs on PRs and main)
- Add lint workflow with golangci-lint
- Add release-please for automated versioning and changelogs
- Add goreleaser config for cross-platform builds (linux/darwin x amd64/arm64)
- Add Docker image builds to ghcr.io/defilan/issueparser
- Fix lint issues (errcheck, gofmt, line length)
- Update to Go 1.23
@Defilan Defilan merged commit 4f89478 into main Nov 29, 2025
2 checks passed
@Defilan Defilan deleted the feat/ci-setup branch November 29, 2025 07:32
@github-actions github-actions bot mentioned this pull request Nov 29, 2025
Defilan pushed a commit that referenced this pull request Nov 29, 2025
🚀 Release ${version}
---


##
[0.1.1](v0.1.0...v0.1.1)
(2025-11-29)


### Features

* add CI/CD with GitHub Actions, GoReleaser, and Release Please
([#1](#1))
([4f89478](4f89478))

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
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