Skip to content

ci: single Go 1.26 toolchain via mise#2

Merged
richardcase merged 2 commits into
masterfrom
ci-go126-mise
May 25, 2026
Merged

ci: single Go 1.26 toolchain via mise#2
richardcase merged 2 commits into
masterfrom
ci-go126-mise

Conversation

@richardcase
Copy link
Copy Markdown
Contributor

Summary

  • Drop CI Go matrix (was 1.22.x, 1.26.x) — test only Go 1.26.
  • Bump go.mod to go 1.26.
  • Add .mise.toml pinning go = "1.26" and golangci-lint = "1.61.0" for reproducible local dev.
  • CI now installs toolchain via jdx/mise-action@v2 instead of actions/setup-go + golangci/golangci-lint-action.

Test plan

  • CI green on this PR.
  • mise install locally pulls Go 1.26 + golangci-lint 1.61.0.
  • make fmt vet lint test passes with mise-installed toolchain.
  • Verify golangci-lint 1.61 supports Go 1.26 — bump to v2.x if lint step errors.

Note: branch off master. Depends on feature branch 001-cpu-6502-core landing first (introduces go.mod and original ci.yml); diff here shows them as new files.

richardcase and others added 2 commits May 25, 2026 17:21
Signed-off-by: Richard Case <richard.case@outlook.com>
The .golangci.yml on master uses the v2 config schema, which v1.61
cannot parse. Bump golangci-lint to 2.12.2 (built with Go 1.26) and
fix the issues v2 surfaces:

- Refactor mos6502.Disassemble: extract addressing-mode operand
  emission into appendOperand + small mode helpers, dropping
  cyclomatic complexity below the gocyclo threshold.
- Silence goconst on the opcodes.go dispatch table — repeated
  mnemonic strings are table data, not duplicated logic.
- Rename unused parameters in golden_trace_test.go scaffolds to _.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Signed-off-by: Richard Case <richard.case@outlook.com>
@richardcase richardcase merged commit 4664f2b into master May 25, 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