File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -2,31 +2,19 @@ on: [push, pull_request]
22name : Test
33jobs :
44 test :
5- env :
6- GOPATH : ${{ github.workspace }}
7- GO111MODULE : off
8-
9- defaults :
10- run :
11- working-directory : ${{ env.GOPATH }}/src/github.com/${{ github.repository }}
12-
135 strategy :
146 matrix :
15- go-version : [1.14 .x, 1.15 .x, 1.16 .x]
7+ go-version : [1.21 .x, 1.22 .x, 1.23 .x]
168 os : [ubuntu-latest, macos-latest, windows-latest]
179
1810 runs-on : ${{ matrix.os }}
1911
2012 steps :
2113 - name : Install Go
22- uses : actions/setup-go@v2
14+ uses : actions/setup-go@v5
2315 with :
2416 go-version : ${{ matrix.go-version }}
2517 - name : Checkout code
26- uses : actions/checkout@v2
27- with :
28- path : ${{ env.GOPATH }}/src/github.com/${{ github.repository }}
18+ uses : actions/checkout@v4
2919 - name : Test
30- run : |
31- go get -d -t ./...
32- go test -v ./...
20+ run : go test -v ./...
You can’t perform that action at this time.
0 commit comments