File tree Expand file tree Collapse file tree 2 files changed +11
-6
lines changed Expand file tree Collapse file tree 2 files changed +11
-6
lines changed Original file line number Diff line number Diff line change @@ -11,23 +11,28 @@ jobs:
1111 strategy :
1212 fail-fast : false
1313 matrix :
14- go-version : [1.17.x, 1.18.x]
15- os : [ubuntu-latest, macos-latest, windows-latest]
14+ go-version :
15+ - ' 1.18.x'
16+ - ' 1.19.x'
17+ os :
18+ - ubuntu-latest
19+ - macos-latest
20+ - windows-latest
1621 runs-on : ${{ matrix.os }}
1722 steps :
23+ - name : Checkout code
24+ uses : actions/checkout@v3
1825 - name : Install Go
1926 uses : actions/setup-go@v3
2027 with :
2128 go-version : ${{ matrix.go-version }}
22- - name : Checkout code
23- uses : actions/checkout@v3
2429 - name : Test
2530 run : |
2631 go test ./...
2732 go test -race ./...
2833
2934 - name : Tidy
30- if : matrix.os == 'ubuntu-latest' # no need to do this everywhere
35+ if : matrix.os == 'ubuntu-latest' && matrix.go-version == '1.19.x' # no need to do this everywhere
3136 run : |
3237 go mod tidy
3338
Original file line number Diff line number Diff line change 11module github.com/rogpeppe/go-internal
22
3- go 1.17
3+ go 1.18
44
55require github.com/pkg/diff v0.0.0-20210226163009-20ebb0f2a09e
You can’t perform that action at this time.
0 commit comments