@@ -10,23 +10,23 @@ jobs:
10
10
runs-on : ubuntu-latest
11
11
steps :
12
12
- name : checkout
13
- uses : actions/checkout@v2
13
+ uses : actions/checkout@v3
14
14
- name : build
15
15
run : docker-compose run go-json
16
16
test :
17
17
name : Test
18
18
strategy :
19
19
matrix :
20
20
os : [ "ubuntu-latest", "macos-latest", "windows-latest" ]
21
- go-version : [ "1.16 ", "1.17 ", "1.18 " ]
21
+ go-version : [ "1.18 ", "1.19 ", "1.20 " ]
22
22
runs-on : ${{ matrix.os }}
23
23
steps :
24
24
- name : setup Go ${{ matrix.go-version }}
25
- uses : actions/setup-go@v2
25
+ uses : actions/setup-go@v3
26
26
with :
27
27
go-version : ${{ matrix.go-version }}
28
28
- name : checkout
29
- uses : actions/checkout@v2
29
+ uses : actions/checkout@v3
30
30
- name : simple test
31
31
run : go test -v ./... -count=1
32
32
- name : test with GC pressure
@@ -40,17 +40,17 @@ jobs:
40
40
runs-on : ubuntu-latest
41
41
steps :
42
42
- name : setup Go
43
- uses : actions/setup-go@v2
43
+ uses : actions/setup-go@v3
44
44
with :
45
- go-version : 1.18
45
+ go-version : 1.20
46
46
- name : checkout ( feature )
47
- uses : actions/checkout@v2
47
+ uses : actions/checkout@v3
48
48
- name : run benchmark ( feature )
49
49
run : cd benchmarks && go test -bench GoJson | tee $HOME/new.txt
50
50
- name : install benchstat
51
51
run : go install golang.org/x/perf/cmd/benchstat@latest
52
52
- name : checkout ( master )
53
- uses : actions/checkout@v2
53
+ uses : actions/checkout@v3
54
54
with :
55
55
ref : master
56
56
- name : run benchmark ( master )
@@ -62,14 +62,14 @@ jobs:
62
62
runs-on : ubuntu-latest
63
63
steps :
64
64
- name : setup Go
65
- uses : actions/setup-go@v2
65
+ uses : actions/setup-go@v3
66
66
with :
67
- go-version : 1.18
67
+ go-version : 1.20
68
68
- name : checkout
69
- uses : actions/checkout@v2
69
+ uses : actions/checkout@v3
70
70
- name : measure coverage
71
71
run : make cover
72
- - uses : codecov/codecov-action@v2
72
+ - uses : codecov/codecov-action@v3
73
73
with :
74
74
fail_ci_if_error : true
75
75
verbose : true
0 commit comments