File tree Expand file tree Collapse file tree 2 files changed +7
-8
lines changed
Expand file tree Collapse file tree 2 files changed +7
-8
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 ]
1213 runs-on : ${{ matrix.os }}
1314 steps :
14- - uses : actions/checkout@v3
15-
15+ - uses : actions/checkout@v4
1616 - name : Set up Go
1717 uses : actions/setup-go@v4
1818 with :
19- go-version : ' 1.20'
20-
19+ go-version : ${{ matrix.go-version }}
2120 - name : Build
2221 run : go build -v ./...
23-
2422 - name : Test
2523 run : go test -v ./...
26-
24+ - name : Display version
25+ run : go version
Original file line number Diff line number Diff line change 1313 name : lint
1414 runs-on : ubuntu-latest
1515 steps :
16- - uses : actions/checkout@v3
16+ - uses : actions/checkout@v4
1717 - name : golangci-lint
18- uses : golangci/golangci-lint-action@v3
18+ uses : golangci/golangci-lint-action@v5
1919 with :
2020 # Optional: golangci-lint command line arguments.
2121 args : --issues-exit-code=0
You can’t perform that action at this time.
0 commit comments