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 摘要。