Unsupported language version

未关闭 适合新手
#166 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

评估

难度
2/5
预计耗时
1-3 小时
新手友好度
62/100
Issue 类型
缺陷
描述清晰度
基本清楚
活跃度
活跃
技术栈
go
领域
build-system

调研方向

首先比较根目录go.mod中声明的 Go 版本与 v1.6.0 发布说明中引用的版本。确认项目打算支持哪个 Go 版本,然后调整相关版本元数据;当声明的版本与发布信息一致,并且项目能够使用预期的工具链构建时,即表示完成。

由索引模型根据 Issue 内容生成。

描述

The go.mod file in the project's root folder uses 1.17 version of Go language which is not supported by developers of the language.

module github.com/github/git-sizer

go 1.17

require (
	github.com/cli/safeexec v1.0.0
	github.com/davecgh/go-spew v1.1.1 // indirect
	github.com/spf13/pflag v1.0.5
	github.com/stretchr/testify v1.8.1
	golang.org/x/sync v0.1.0 // indirect
)

require github.com/github/go-pipe v1.0.2

require (
	github.com/kr/pretty v0.1.0 // indirect
	github.com/pmezard/go-difflib v1.0.0 // indirect
	gopkg.in/check.v1 v1.0.0-20180628173108-788fd7840127 // indirect
	gopkg.in/yaml.v3 v3.0.1 // indirect
)

https://github.com/github/git-sizer/blob/master/go.mod

Moreover, the latest version of Go language for today is 1.27.4 while your release notes state that you used version 1.27.3 to compile the project.

Build with the Go 1.27.3 toolchain.

https://github.com/github/git-sizer/releases/tag/v1.6.0

Go language of version 1.27.4 was released on 2026-11-10 and includes security fixes to ...

cgo, the go command, the compiler, the linker, and the net/http package, as well as bug fixes to the assembler, the compiler, the runtime, toolchain bootstrapping, and the crypto/fips140, crypto/hkdf, crypto/rsa, crypto/tls, and net packages. See the Go 1.27.4 milestone on our issue tracker for details.

主要语言
Go
星标
4.1k
派生
203
平均合并
5 小时 27 分钟
30 天内合并 PR
1

环境准备

  • 没有 Dockerfile 或 Docker Compose 文件
  • 没有 Pull Request 模板
  • 阅读贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

github/git-sizer 的其他 Issue

查看 github/git-sizer 的全部 Issue

相似的 Issue

更多 Go Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。