增加 self-hosted Go 测试 CI #2

Closed
panxiao81 wants to merge 1 commits from ci/test into main
Owner

内容

  • 为 pull request 和 main 分支 push 增加 Gitea Actions workflow
  • 使用 self-hosted runner
  • 从 go.mod 读取 Go 版本并启用模块缓存
  • 仅运行 go test ./...
  • 将 job token 权限限制为 contents: read

本地验证

  • go test ./...
  • git diff --check
## 内容 - 为 pull request 和 main 分支 push 增加 Gitea Actions workflow - 使用 self-hosted runner - 从 go.mod 读取 Go 版本并启用模块缓存 - 仅运行 go test ./... - 将 job token 权限限制为 contents: read ## 本地验证 - go test ./... - git diff --check
panxiao81 added 1 commit 2026-09-11 17:00:46 +00:00
增加 self-hosted Go 测试 CI
Test / test (pull_request) Successful in 22s
480cd9f00f
panxiao81 closed this pull request 2026-09-13 14:36:29 +00:00
This repo is archived. You cannot comment on pull requests.
No Reviewers
No labels
1 Participants
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: panxiao81/workload-sts#2