Skip to content

ci: run the Go checks and prepare the repository to make Go the main branch - #72

Merged
BGLuis merged 1 commit into
feat/go-portfrom
ci/go-migration-prep
Nov 7, 2026
Merged

BGLuis merged 1 commit into
feat/go-portfrom
ci/go-migration-prep

Conversation

@BGLuis

@BGLuis BGLuis commented Nov 7, 2026

Copy link
Copy Markdown
Owner

Description

Prepares feat/go-port to become main. The Go branch still carried the Python CI (pip install -r requirements.txt, make lint, pytest, Qt E2E), which would fail on the first push once main points at the Go code.

  • .github/workflows/ci.yml: one job on ubuntu-24.04 that runs gofmt -l, go vet ./..., go test -race ./..., and CGO-free builds for Linux (./...) and Windows (./cmd/slime). Triggers: push to main and every pull request, so it also runs on this PR. permissions: {} at the top level and contents: read on the job; actions pinned by SHA (checkout v7.0.1, setup-go v7.0.0); Go version taken from go.mod, with the module and build cache keyed on go.sum.
  • .github/dependabot.yml: adds the gomod ecosystem next to github-actions, weekly with a 7-day cooldown.
  • .github/ISSUE_TEMPLATE/bug_report.yml: asks for slime version and the OS instead of the Python version.
  • GEMINI.md / AGENTS.md: drop the "feat/go-port porting branch" wording (the Python version will live on legacy/python) and replace a broken absolute link with a relative one.

Follow-up, not in this PR: ARCHITECTURE.md and PRODUCT.md at the root still describe the Python version, and docs/ARCHITECTURE_GO.md is a planning document rather than a description of the current code.

Type of change

  • This change requires a documentation update

How Has This Been Tested?

  • I have tested my changes locally
    • The workflow commands, run locally: gofmt -l . is empty, go vet ./... is clean, go test -race ./... passes (about 10 s), and CGO_ENABLED=0 builds succeed for Linux and GOOS=windows.
    • actionlint 1.7.12: no errors. zizmor 1.32.0 --offline: no findings.
    • The workflow has not run on GitHub yet; this PR is its first run.

Checklist:

  • My code follows the style guidelines of this project
  • I have performed a self-review of my own code
  • I have made corresponding changes to the documentation
  • My changes generate no new warnings

🤖 Generated with Claude Code

https://claude.ai/code/session_01DKhrqPXPWEC98hdu6bNzpj

…branch

Replaces the inherited Python workflow (pip, make lint, pytest, Qt) with
gofmt, go vet, go test -race and CGO-free builds for Linux and Windows, and
runs it on every pull request. Dependabot now also tracks Go modules, the bug
template asks for the Slime version, and the agent docs drop the feat/go-port
wording and a broken absolute link.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DKhrqPXPWEC98hdu6bNzpj
@BGLuis
BGLuis merged commit db605db into feat/go-port Nov 7, 2026
1 check failed
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