File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 30
30
run : go test -v -run '^$' -bench '(Marshal|Unmarshal)$/codeResponse' -benchmem -benchtime 3s -cpu 1 -count 6 ./json | tee bench.txt
31
31
32
32
- name : Upload Benchmarks
33
- uses : actions/upload-artifact@v2
33
+ uses : actions/upload-artifact@v4
34
34
with :
35
35
name : ${{ matrix.ref }}
36
36
path : bench.txt
@@ -49,15 +49,15 @@ jobs:
49
49
run : go install golang.org/x/perf/cmd/benchstat@latest
50
50
51
51
- name : Download Benchmark Results
52
- uses : actions/download-artifact@v2
52
+ uses : actions/download-artifact@v4
53
53
with :
54
54
path : .
55
55
56
56
- name : Run Benchstat
57
57
run : benchstat ./master/bench.txt ./${{ github.sha }}/bench.txt | tee benchstat.txt
58
58
59
59
- name : Upload Benchstat Results
60
- uses : actions/upload-artifact@v2
60
+ uses : actions/upload-artifact@v4
61
61
with :
62
62
name : benchstat
63
63
path : benchstat.txt
You can’t perform that action at this time.
0 commit comments