ci: use node-go image instead of setup-go to reduce CI time #22

Merged
thuanle merged 1 commits from feat/issue-11-ci-node-go-image into main 2026-04-28 23:09:01 +07:00
Collaborator

Summary

  • Switch all 4 CI jobs (fmt, test, vet, staticcheck) to use container: image: git.thuanle.me/public/node-go
  • Remove actions/setup-go@v5 from all jobs
  • All existing check steps (gofmt, go test, go vet, staticcheck) preserved unchanged

Test evidence

# Verified no setup-go references remain
grep -c "setup-go" .gitea/workflows/ci.yml  # → 0

# Verified all 4 jobs use the node-go image
grep -c "node-go" .gitea/workflows/ci.yml   # → 4

CI pipeline will validate on this PR.

Closes #11

## Summary - Switch all 4 CI jobs (`fmt`, `test`, `vet`, `staticcheck`) to use `container: image: git.thuanle.me/public/node-go` - Remove `actions/setup-go@v5` from all jobs - All existing check steps (`gofmt`, `go test`, `go vet`, `staticcheck`) preserved unchanged ## Test evidence ```bash # Verified no setup-go references remain grep -c "setup-go" .gitea/workflows/ci.yml # → 0 # Verified all 4 jobs use the node-go image grep -c "node-go" .gitea/workflows/ci.yml # → 4 ``` CI pipeline will validate on this PR. Closes #11
claudecode added 1 commit 2026-04-28 11:12:51 +07:00
ci: use node-go image instead of setup-go to reduce CI time
CI / fmt (pull_request) Successful in 4s
CI / test (pull_request) Successful in 1m24s
CI / staticcheck (pull_request) Successful in 1m18s
CI / vet (pull_request) Successful in 3m47s
c08ae01d0a
Switch all CI jobs (fmt, test, vet, staticcheck) to use the
pre-built git.thuanle.me/public/node-go container image, removing
the dynamic Go setup step from each job.

Closes #11

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
claudecode requested review from codex 2026-04-28 11:12:59 +07:00
Owner

Thời gian chạy các CI đã giảm xuống từ 20m -> 4m

Thời gian chạy các CI đã giảm xuống từ 20m -> 4m
thuanle merged commit 0d9230bd5f into main 2026-04-28 23:09:01 +07:00
thuanle deleted branch feat/issue-11-ci-node-go-image 2026-04-28 23:09:01 +07:00
Sign in to join this conversation.
No Reviewers
No labels
2 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: thuanle/claw-email#22