Skip to main content

update-go-version

Update the Go toolchain version across the repo.

跳到安装

来源信息

仓库
authgear/authgear-server
最近来源活动
2026年4月14日 09:56
检测到的 SKILL.md 语言
英语
星标
2,058
分支
125

安装方式

默认使用会先检查来源的 Prompt;你也可以切换为直接命令,或下载本地副本。

检查来源文件

决定是否安装前,请先阅读 SKILL.md,以及 SkillsMP 当前展示的配套文件。

正在显示 SKILL.md

SKILL.md
来源说明 · 只读预览
name
update-go-version
description
Update the Go toolchain version across the repo.
argument-hint
<new Go version>
Use this skill when the Go version changes. ## Files to update - `flake.nix` - `.tool-versions` - `go.mod` - `custombuild/go.mod` - `e2e/go.mod` - `k6/go.mod` - `packagetracker/go.mod.tpl` - `custombuild/cmd/authgear/Dockerfile` - `custombuild/cmd/portalx/Dockerfile` - `cmd/portal/Dockerfile` - `cmd/authgear/Dockerfile` - `once/partial.dockerfile` ## Workflow 1. Update the version in every file above. 2. Use `nix store prefetch-file` to refresh the hash in `flake.nix`. 3. Run `make go-mod-tidy`. 4. Run `make once/Dockerfile`. 5. Verify the repo still builds if the version bump changed tool behavior. ## Notes - Keep the version updates consistent across all Go modules. - Do not leave one module on the old version; that creates hard-to-debug drift.
在 GitHub 查看