File tree Expand file tree Collapse file tree 2 files changed +10
-4
lines changed
Expand file tree Collapse file tree 2 files changed +10
-4
lines changed Original file line number Diff line number Diff line change 99 - ubuntu-latest
1010 - macos-latest
1111 - windows-latest
12- go-version : [ 1.23, 1.24, 1.24.x ]
1312 runs-on : ${{ matrix.os }}
1413 steps :
15- - uses : actions/checkout@v4
14+ - uses : actions/checkout@v5
1615 - name : Set up Go
17- uses : actions/setup-go@v4
16+ uses : actions/setup-go@v5
1817 with :
19- go-version : ${{ matrix.go-version }}
18+ go-version-file : ' go.mod'
19+ cache-dependency-path : go.sum
2020 - name : Cleaning
2121 run : go clean --modcache
2222 - name : Build
Original file line number Diff line number Diff line change 1414 runs-on : ubuntu-latest
1515 steps :
1616 - uses : actions/checkout@v4
17+ - name : Set up Go environment
18+ run : |
19+ go env
20+ - name : Install dependencies
21+ run : |
22+ go mod tidy
1723 - name : golangci-lint
1824 uses : golangci/golangci-lint-action@v5
1925 with :
You can’t perform that action at this time.
0 commit comments