V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member  Sign In
zhwguest
V2EX  ›  GitHub

github 的 go 工程,为什么自动化集成中对 go 的版本号要限制为 1.23 的格式呢

  •  
  •   zhwguest · Jan 7, 2024 · 1934 views
    This topic created in 843 days ago, the information mentioned may be changed or developed.

    每次一运行 go mod tidy ,go 的版本就变成 1.21.5 ,结果推上去的版本就无法成功编译自动化测试了。

    go.mod:3: invalid go version '1.21.4': must match format 1.23

    1 replies    2024-01-07 15:37:00 +08:00
    mainjzb
        1
    mainjzb  
       Jan 7, 2024
    go 版本比 go mod 里写的低会提示这个报错
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   4063 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 66ms · UTC 04:10 · PVG 12:10 · LAX 21:10 · JFK 00:10
    ♥ Do have faith in what you're doing.