lurenjiauser
V2EX  ›  GitHub

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

  •  
  •   lurenjiauser · Jan 7, 2024 · 2081 views
    This topic created in 903 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   ·   6164 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 54ms · UTC 03:15 · PVG 11:15 · LAX 20:15 · JFK 23:15
    ♥ Do have faith in what you're doing.