File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1717 - name : Set up Go
1818 uses : actions/setup-go@v6
1919 with :
20- go-version : ' >=1.25'
20+ go-version : ' 1.26.x'
21+ go-version-file : ' go.mod'
2122 cache : true
2223
24+
2325 - name : Verify dependencies
2426 run : |
2527 go mod tidy
4547 - name : Set up Go
4648 uses : actions/setup-go@v6
4749 with :
48- go-version : ' 1.26'
50+ go-version : ' 1.26.x'
51+ go-version-file : ' go.mod'
52+ cache : true
4953
5054 - name : golangci-lint
5155 uses : golangci/golangci-lint-action@v9
Original file line number Diff line number Diff line change 1717 - name : Set up Go
1818 uses : actions/setup-go@v6
1919 with :
20- go-version : ' >=1.26'
20+ go-version : ' 1.26.x'
21+ go-version-file : ' go.mod'
2122 cache : true
2223
2324 - name : Build all platforms
Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ xops (XOps) 是一个基于 Go 语言开发的命令行运维工具集,旨在
1616## 🛠️ 安装
1717
1818### 环境要求
19- - Go 1.25 或更高版本
19+ - Go 1.26 或更高版本
2020
2121### 编译
2222``` bash
You can’t perform that action at this time.
0 commit comments