8 Commits

Author SHA1 Message Date
xfy
39ff086236 ci: consolidate all steps into single step per job
Some checks failed
CI / Test (push) Failing after 24s
CI / Build (push) Has been skipped
GITHUB_PATH does not reliably update PATH for subsequent steps in
Gitea Actions. Put Go install + all checks in one step with explicit
PATH export. Simplify to 2 jobs: test + build.
2026-06-12 17:00:09 +08:00
xfy
c2fe40330b ci: add debug info to vet step
Some checks failed
CI / Lint (push) Failing after 39s
CI / Test (push) Failing after 9m23s
CI / Build (push) Has been skipped
2026-06-12 16:51:08 +08:00
xfy
8953c0c85a ci: replace golangci-lint with go vet
Some checks failed
CI / Lint (push) Failing after 1m30s
CI / Test (push) Failing after 2m22s
CI / Build (push) Has been skipped
golangci-lint v2 install via 'go install' is too heavy for CI
(compiles from source, needs lots of memory and time).
Use go vet as lightweight alternative for now.
2026-06-12 16:33:56 +08:00
xfy
000a6afc08 ci: use Aliyun Go mirror and goproxy.cn for China network
Some checks failed
CI / Lint (push) Failing after 3m44s
CI / Test (push) Failing after 3m42s
CI / Build (push) Has been skipped
go.dev/dl redirects to dl.google.com which is blocked in China.
Use mirrors.aliyun.com for Go toolchain download and goproxy.cn
for Go module proxy.
2026-06-12 16:23:00 +08:00
xfy
bb0f321849 ci: replace setup-go action with manual Go install from go.dev
Some checks failed
CI / Lint (push) Failing after 3m1s
CI / Test (push) Failing after 2m13s
CI / Build (push) Has been skipped
actions/setup-go@v5 was failing silently (0s steps) likely due to
network issues downloading Go from GitHub. Install Go directly from
go.dev which is more accessible.

Also remove Docker job (not needed yet) and simplify to 3 jobs.
2026-06-12 15:47:51 +08:00
xfy
ff602ee183 ci: install gofumpt and golangci-lint in same step to fix PATH
Some checks failed
CI / Lint (push) Failing after 40s
CI / Test (push) Failing after 3m57s
CI / Build (push) Has been skipped
CI / Docker (push) Has been skipped
Previous attempts failed because go install puts binaries in GOPATH/bin
which may not be in PATH for subsequent steps. Combine into fewer steps.
2026-06-12 15:29:32 +08:00
xfy
c2768a0f32 ci: use go install for golangci-lint instead of curl
Some checks failed
CI / Lint (push) Failing after 11s
CI / Test (push) Failing after 11s
CI / Build (push) Has been skipped
CI / Docker (push) Has been skipped
The curl-based install script downloads from raw.githubusercontent.com
which is unreliable in some network environments. go install is more
reliable and uses the Go module proxy.
2026-06-12 11:19:59 +08:00
xfy
09f4ca5755 ci: add Gitea Actions CI pipeline
Some checks failed
CI / Lint (push) Failing after 3m18s
CI / Test (push) Failing after 18m40s
CI / Build (push) Has been cancelled
CI / Docker (push) Has been cancelled
Mirror of .github/workflows/ci.yml adapted for Gitea Actions:
- Replace golangci-lint-action with direct install script
- Remove upload-artifact (not needed on Gitea)
- Same 4-job structure: lint → test → build → docker
2026-06-11 23:44:46 +08:00