File tree Expand file tree Collapse file tree 1 file changed +4
-19
lines changed Expand file tree Collapse file tree 1 file changed +4
-19
lines changed Original file line number Diff line number Diff line change 8
8
os : [ubuntu-latest, macos-latest, windows-latest]
9
9
runs-on : ${{ matrix.os }}
10
10
steps :
11
- - uses : actions/setup-go@v3
11
+ - uses : actions/checkout@v3
12
+ - uses : actions/setup-go@v4
12
13
with :
13
14
go-version : ${{ matrix.go-version }}
14
- - uses : actions/checkout@v3
15
15
- run : go test ./...
16
16
17
17
test-cache :
18
18
runs-on : ubuntu-latest
19
19
steps :
20
- - uses : actions/setup-go@v3
21
- with :
22
- go-version : 1.20.x
23
20
- uses : actions/checkout@v3
24
- - uses : actions/cache@v3
21
+ - uses : actions/setup-go@v4
25
22
with :
26
- # In order:
27
- # * Module download cache
28
- # * Build cache (Linux)
29
- # * Build cache (Mac)
30
- # * Build cache (Windows)
31
- path : |
32
- ~/go/pkg/mod
33
- ~/.cache/go-build
34
- ~/Library/Caches/go-build
35
- ~\AppData\Local\go-build
36
- key : ${{ runner.os }}-go-${{ matrix.go-version }}-${{ hashFiles('**/go.sum') }}
37
- restore-keys : |
38
- ${{ runner.os }}-go-${{ matrix.go-version }}-
23
+ go-version : 1.20.x
39
24
- run : go test ./...
You can’t perform that action at this time.
0 commit comments