Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 93030d3

Browse files
committedSep 3, 2024··
.github: fix security vuln
1 parent 3055897 commit 93030d3

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed
 

‎.github/workflows/benchmark.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ jobs:
3030
run: go test -v -run '^$' -bench '(Marshal|Unmarshal)$/codeResponse' -benchmem -benchtime 3s -cpu 1 -count 6 ./json | tee bench.txt
3131

3232
- name: Upload Benchmarks
33-
uses: actions/upload-artifact@v2
33+
uses: actions/upload-artifact@v4
3434
with:
3535
name: ${{ matrix.ref }}
3636
path: bench.txt
@@ -49,15 +49,15 @@ jobs:
4949
run: go install golang.org/x/perf/cmd/benchstat@latest
5050

5151
- name: Download Benchmark Results
52-
uses: actions/download-artifact@v2
52+
uses: actions/download-artifact@v4
5353
with:
5454
path: .
5555

5656
- name: Run Benchstat
5757
run: benchstat ./master/bench.txt ./${{ github.sha }}/bench.txt | tee benchstat.txt
5858

5959
- name: Upload Benchstat Results
60-
uses: actions/upload-artifact@v2
60+
uses: actions/upload-artifact@v4
6161
with:
6262
name: benchstat
6363
path: benchstat.txt

0 commit comments

Comments
 (0)
Please sign in to comment.