Skip to content

Commit

Permalink
.github: fix security vuln
Browse files Browse the repository at this point in the history
  • Loading branch information
kevinburkesegment committed Sep 3, 2024
1 parent 3055897 commit 93030d3
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/benchmark.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jobs:
run: go test -v -run '^$' -bench '(Marshal|Unmarshal)$/codeResponse' -benchmem -benchtime 3s -cpu 1 -count 6 ./json | tee bench.txt

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

- name: Download Benchmark Results
uses: actions/download-artifact@v2
uses: actions/download-artifact@v4
with:
path: .

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

- name: Upload Benchstat Results
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
with:
name: benchstat
path: benchstat.txt

0 comments on commit 93030d3

Please sign in to comment.