diff --git a/.github/workflows/benchmark.yml b/.github/workflows/benchmark.yml index e8c22dd..3e53e3f 100644 --- a/.github/workflows/benchmark.yml +++ b/.github/workflows/benchmark.yml @@ -56,7 +56,7 @@ jobs: # This will only run if we have Benchmark Results from main branch - name: Compare PR Benchmark Results with main branch - uses: benchmark-action/github-action-benchmark@v1.20.3 + uses: benchmark-action/github-action-benchmark@v1.20.4 if: steps.cache.outputs.cache-hit == 'true' with: tool: 'go' @@ -72,7 +72,7 @@ jobs: alert-threshold: "150%" - name: Store Benchmark Results for main branch - uses: benchmark-action/github-action-benchmark@v1.20.3 + uses: benchmark-action/github-action-benchmark@v1.20.4 if: ${{ github.ref_name == 'main' }} with: tool: 'go' @@ -86,7 +86,7 @@ jobs: alert-threshold: "150%" - name: Publish Benchmark Results to GitHub Pages - uses: benchmark-action/github-action-benchmark@v1.20.3 + uses: benchmark-action/github-action-benchmark@v1.20.4 if: ${{ github.ref_name == 'main' }} with: tool: 'go' diff --git a/decoder_test.go b/decoder_test.go index 33edfc6..7106dcf 100644 --- a/decoder_test.go +++ b/decoder_test.go @@ -2567,7 +2567,7 @@ func BenchmarkSimpleStructDecode(b *testing.B) { b.ResetTimer() for i := 0; i < b.N; i++ { - decoder.Decode(&s, data) + _ = decoder.Decode(&s, data) } }