Skip to content

chore: update go directive, dependencies and refactor CI workflow#13

Merged
osamingo merged 3 commits intomainfrom
chore/update-deps-and-refactor-ci
Feb 7, 2026
Merged

chore: update go directive, dependencies and refactor CI workflow#13
osamingo merged 3 commits intomainfrom
chore/update-deps-and-refactor-ci

Conversation

@osamingo
Copy link
Owner

@osamingo osamingo commented Feb 7, 2026

Summary

  • Bump go directive from 1.25.6 to 1.25.7 and update all dependencies to latest versions
  • Extract common CI setup steps (checkout, X11 deps, Go setup) into a reusable composite action at .github/actions/setup
  • Simplify test and lint jobs by referencing the composite action

Changes

Dependency updates (go.mod / go.sum)

Package Before After
go directive 1.25.6 1.25.7
bmatcuk/doublestar/v4 v4.9.2 v4.10.0
charmbracelet/x/ansi v0.11.5 v0.11.6
golang.org/x/image v0.28.0 v0.35.0
golang.org/x/text v0.26.0 v0.33.0

CI refactor

  • New: .github/actions/setup/action.yml — composite action with go-version input (default: stable)
  • Updated: .github/workflows/ci.yml — each job uses the composite action instead of duplicated steps

Test plan

  • Verify CI passes on this PR (test job with stable + oldstable, lint job)
  • Confirm composite action correctly sets up Go environment

🤖 Generated with Claude Code

osamingo and others added 2 commits February 7, 2026 18:17
- Bump go directive from 1.25.6 to 1.25.7
- Update bmatcuk/doublestar/v4 to v4.10.0
- Update charmbracelet/x/ansi to v0.11.6
- Update golang.org/x/image to v0.35.0
- Update golang.org/x/text to v0.33.0
- Update golang.org/x/exp/shiny and golang.org/x/mobile

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
…e action

- Create .github/actions/setup composite action for checkout, X11 deps, and Go setup
- Accept go-version input with stable as default
- Simplify test and lint jobs by reusing the composite action

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@osamingo osamingo self-assigned this Feb 7, 2026
- Local composite actions require the repo to be checked out first
- Move checkout back to each job as a prerequisite step
- Keep X11 deps and Go setup in the composite action

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@osamingo osamingo marked this pull request as ready for review February 7, 2026 09:39
@osamingo osamingo merged commit 079f62b into main Feb 7, 2026
3 checks passed
@osamingo osamingo deleted the chore/update-deps-and-refactor-ci branch February 7, 2026 09:40
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